Created
February 17, 2021 03:34
-
-
Save crcn/5b569abf8ce092348eef8c292ba7e0c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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