Lint rule react prop types addition
This commit is contained in:
committed by
Sofiya Tepikin
parent
8444d466db
commit
47379d7a1e
@@ -28,8 +28,11 @@ const SettingsButton = ({ children, style, secondary, ...props }) => {
|
||||
}
|
||||
|
||||
SettingsButton.propTypes = {
|
||||
children: PropTypes.node,
|
||||
disabled: PropTypes.bool,
|
||||
onPress: PropTypes.func.isRequired,
|
||||
disabled: PropTypes.bool
|
||||
secondary: PropTypes.bool,
|
||||
style: PropTypes.object
|
||||
}
|
||||
|
||||
export default SettingsButton
|
||||
Reference in New Issue
Block a user