This repository was archived by the owner on Mar 30, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +52
-2
lines changed
Expand file tree Collapse file tree 2 files changed +52
-2
lines changed Original file line number Diff line number Diff line change 66- [x] [ Buttons] ( https://github.com/dabit3/react-native-hackathon-starter#buttons )
77- [x] Pricing Component
88- [x] [ Social Icons / Buttons] ( https://github.com/dabit3/react-native-hackathon-starter#social-icons--buttons )
9- - [x] Card component
9+ - [x] [ Card component] ( https://github.com/dabit3/react-native-hackathon-starter#card )
1010- [x] [ React Native Vector Icons] ( https://github.com/oblador/react-native-vector-icons )
1111- [x] Form Elements
1212- [x] Redux
8383| iconColor | white | string | icon color |
8484| title | none | string | title if made into a button |
8585
86+ ## Forms
87+
88+ ![ ] ( )
89+
90+ ```
91+ <FormLabel containerStyle={styles.labelContainerStyle}>Name</FormLabel>
92+ <FormInput onChangeText={someFunction}/>
93+
94+ ```
95+
8696## Card
8797
8898![ Card Component] ( http://i.imgur.com/eRaY7Ok.png )
Original file line number Diff line number Diff line change @@ -8,7 +8,47 @@ import colors from 'HSColors'
88
99let styles = { }
1010
11- const FormInput = ( { containerStyle, inputStyle, onChangeText, value} ) => (
11+ const FormInput = ( {
12+ containerStyle,
13+ inputStyle,
14+ value,
15+ autoCapitalize,
16+ autoCorrect,
17+ autoFocus,
18+ blurOnSubmit,
19+ defaultValue,
20+ editable,
21+ keyboardType,
22+ maxLength,
23+ multiline,
24+ onBlur,
25+ onChange,
26+ onChangeText,
27+ onContentSizeChange,
28+ onEndEditing,
29+ onFocus,
30+ onLayout,
31+ onSelectionChange,
32+ onSubmitEditing,
33+ placeholder,
34+ placeholderTextColor,
35+ returnKeyType,
36+ secureTextEntry,
37+ selectTextOnFocus,
38+ selectionColor,
39+ inlineImageLeft,
40+ inlineImagePadding,
41+ numberOfLines,
42+ returnKeyLabel,
43+ underlineColorAndroid,
44+ clearButtonMode,
45+ clearTextOnFocus,
46+ dataDetectorTypes,
47+ enablesReturnKeyAutomatically,
48+ keyboardAppearance,
49+ onKeyPress,
50+ selectionState
51+ } ) => (
1252 < View style = { [ styles . container , containerStyle && containerStyle ] } >
1353 < TextInput
1454 selectionColor = { colors . grey3 }
You can’t perform that action at this time.
0 commit comments