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
@@ -29,7 +29,8 @@ export default function Header({
|
||||
|
||||
Header.propTypes = {
|
||||
handleBack: PropTypes.func,
|
||||
handleDelete: PropTypes.func,
|
||||
handleNext: PropTypes.func,
|
||||
title: PropTypes.string,
|
||||
subtitle: PropTypes.string,
|
||||
title: PropTypes.string.isRequired
|
||||
}
|
||||
Reference in new issue
Block a user