1
1
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:
busypeoples 2018-08-03 17:28:58 +02:00
parent 4fb7e6e369
commit 8f0c1814e3
2 changed files with 5 additions and 2 deletions

View File

@ -49,7 +49,8 @@ class Slide extends React.Component {
Slide.propTypes = {
index: PropTypes.number.isRequired,
px: PropTypes.array
...space.propTypes,
...color.propTypes
}
Slide.defaultProps = {

View File

@ -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 = {