Created
May 27, 2016 12:46
-
-
Save nathanmarks/c75c076c38365c8d86e386f6df9ec73f 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
const styleSheet = createStyleSheet('MyComponent', () => { | |
return { | |
base: { | |
margin: 32 | |
}, | |
button: { | |
'@scope': 'base', | |
minWidth: 64 | |
} | |
} | |
}); |
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
const styleSheet = createStyleSheet('MyComponent', () => { | |
return { | |
base: { | |
margin: 32, | |
'& Button': { | |
base: { minWidth: 64 } | |
} | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment