mirror of
https://github.com/jxnblk/mdx-deck.git
synced 2024-11-29 13:58:02 +03:00
Update PropType definitions
This commit is contained in:
parent
4fb7e6e369
commit
8f0c1814e3
@ -49,7 +49,8 @@ class Slide extends React.Component {
|
||||
|
||||
Slide.propTypes = {
|
||||
index: PropTypes.number.isRequired,
|
||||
px: PropTypes.array
|
||||
...space.propTypes,
|
||||
...color.propTypes
|
||||
}
|
||||
|
||||
Slide.defaultProps = {
|
||||
|
@ -21,7 +21,9 @@ Button.propTypes = {
|
||||
px: PropTypes.number,
|
||||
py: PropTypes.number,
|
||||
color: PropTypes.string,
|
||||
bg: PropTypes.string
|
||||
bg: PropTypes.string,
|
||||
...space.propTypes,
|
||||
...color.propTypes
|
||||
}
|
||||
|
||||
Button.defaultProps = {
|
||||
|
Loading…
Reference in New Issue
Block a user