Created
April 28, 2017 17:08
-
-
Save DavidSanwald/77883f6f6673671c359995677f60017e to your computer and use it in GitHub Desktop.
StyledPadProps
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
StyledPad.propTypes = { | |
state: PropTypes.oneOf(['idle', 'playing', 'selected']).isRequired, | |
onClick: PropTypes.func.isRequired, | |
width: PropTypes.string, | |
height: PropTypes.string, | |
timing: PropTypes.string, | |
} | |
StyledSquare.defaultProps = { | |
width: '10.3', | |
height: '10.3', | |
timing: '3s' , | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment