Created
August 17, 2019 22:48
-
-
Save esr360/985e2e214f7c8f1a2b3e89917734a93c 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 styles = ({ props, state, context }) => ({ | |
display: 'block', | |
border: '1px solid', | |
heading: ({ props, state }) => ({ | |
fontWeight: props.strong && 'bold', | |
color: state.isHovered ? 'blue' : 'red' | |
}), | |
content: { | |
padding: '1em' | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment