Created
May 17, 2020 16:22
-
-
Save crcn/b3c6f0bed13e6b0b8d01a67a5980e966 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 as="figma" src="../design-generated/test/figmark-2.pc"> | |
<style> | |
.button { | |
font-family: Helvetica; | |
& .background { | |
padding: 24px; | |
& .label { | |
font-family: Helvetica; | |
display: inline-block; | |
width: 100%; | |
} | |
} | |
} | |
</style> | |
<!-- Component --> | |
<figma:Button component as="Button" className=">>>button buttonVariant3 {className}"> | |
<figma:Button_Background className=">>>background"> | |
<figma:Button_Label className=">>>label"> | |
{children} | |
</figma:Button_Label> | |
</figma:Button_Background> | |
</figma:Button> | |
<!-- Preview --> | |
<Button> | |
button | |
</Button> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment