Skip to content

Instantly share code, notes, and snippets.

@crcn
Created February 17, 2021 03:34
Show Gist options
  • Save crcn/5b569abf8ce092348eef8c292ba7e0c6 to your computer and use it in GitHub Desktop.
Save crcn/5b569abf8ce092348eef8c292ba7e0c6 to your computer and use it in GitHub Desktop.
<import src="./Message.pc" as="Message" />
<style>
.my-style-override {
color: red;
font-weight: 800;
}
</style>
<!-- The $ syntax tells Paperclip to inject this style into the imported component -->
<Message labelClass="$my-style-override">
Craig
</Message>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment