Lint rule react prop types addition
This commit is contained in:
1 parent
8444d466db
commit
47379d7a1e
26 files changed
+292
-184
No files matched your search
@@ -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