Skip to content

Commit f8884b7

Browse files
committed
Validate props
1 parent f0273cc commit f8884b7

5 files changed

Lines changed: 8 additions & 5 deletions

File tree

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@
1616
"dynamic-form",
1717
"react-native",
1818
"reactnative",
19-
"ui-components"
19+
"ui-components",
20+
"form-builder",
21+
"ios",
22+
"android"
2023
],
2124
"author": "Greeshma Pillai (https://github.com/pillaigrshma)",
2225
"license": "MIT",

src/components/Checkbox.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default function Checkbox(props) {
2424
);
2525
}
2626

27-
InputText.propTypes = {
27+
Checkbox.propTypes = {
2828
name: PropTypes.string.isRequired,
2929
meta: PropTypes.object.isRequired,
3030
value: PropTypes.string,

src/components/DatePicker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const styles = StyleSheet.create({
3939
},
4040
});
4141

42-
InputText.propTypes = {
42+
Datepicker.propTypes = {
4343
name: PropTypes.string.isRequired,
4444
meta: PropTypes.object.isRequired,
4545
value: PropTypes.string,

src/components/Dropdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const styles = StyleSheet.create({
4848
}
4949
});
5050

51-
InputText.propTypes = {
51+
DropDown.propTypes = {
5252
name: PropTypes.string.isRequired,
5353
meta: PropTypes.object.isRequired,
5454
index: PropTypes.number,

src/components/Image.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const styles = StyleSheet.create({
3232
},
3333
});
3434

35-
InputText.propTypes = {
35+
Image.propTypes = {
3636
name: PropTypes.string.isRequired,
3737
meta: PropTypes.object.isRequired,
3838
style: PropTypes.object,

0 commit comments

Comments
 (0)