Skip to content
This repository was archived by the owner on Mar 30, 2022. It is now read-only.

Commit 840054a

Browse files
committed
updated PropTypes
1 parent 9ee44da commit 840054a

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
title='RAISED WITH ICON' />
4141
```
4242

43-
| Prop | default | Type | Description |
43+
| prop | default | type | description |
4444
| ---- | ---- | ----| ---- |
4545
| buttonStyle | none | object | add additional styling for button component |
4646
| title | none | string | button title |

src/components/buttons/Button.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,17 @@ Button.propTypes = {
4646
title: PropTypes.string,
4747
onPress: PropTypes.any,
4848
icon: PropTypes.object,
49+
secondary: PropTypes.bool,
50+
secondary2: PropTypes.bool,
51+
secondary3: PropTypes.bool,
52+
primary1: PropTypes.bool,
53+
primary2: PropTypes.bool,
54+
primary3: PropTypes.bool,
55+
backgroundColor: PropTypes.string,
56+
color: PropTypes.string,
57+
fontSize: PropTypes.number,
58+
underlayColor: PropTypes.string,
59+
raised: PropTypes.bool,
4960
textStyle: PropTypes.any
5061
}
5162

0 commit comments

Comments
 (0)