Lint rule react prop types addition

This commit is contained in:
Maria Zadnepryanets authored and Sofiya Tepikin committed 2020-03-11 20:19:45 +00:00
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