2.5.4 • Published 9 months ago
@arelstone/react-native-email-chip v2.5.4
@arelstone/react-native-email-chip
A simple yet very customizable component to display a chip list of emails
Install
npm install @arelstone/react-native-email-chip
// or
yarn add @arelstone/react-native-email-chip
Usage
import EmailChipInput from '@arelstone/react-native-email-chip';
<EmailChipInput
entries={['john@doe.com', 'jane@doe.com']}
onSubmit={(emails: string[])=> this.setState({emails})}
/>
Props
Name | Type | Default |
---|---|---|
entries | string[] | [] |
onSubmit | string[] => void | |
label (optional) | ReactElement | |
delimiters (optional) | string[] | ',', ';', ' ' |
keyboardAppearance (optional) | default, light, dark | default |
keyboardAppearance (optional) | never, while-editing, unless-editing, always | while-editing |
placeholder (optional) | string | Start by typing an email |
autoCapitalize (optional) | none, sentences, words, characters | none |
autoCorrect (optional) | boolean | true |
autoFocus (optional) | boolean | true |
blurOnSubmit (optional) | boolean | false |
chipImage (optional) | ReactElement | |
placeholderTextColor (optional) | ViewStyle | |
containerStyle (optional) | ViewStyle | |
chipContainerStyle (optional) | ViewStyle | |
chipTextStyle (optional) | TextStyle | |
inputContainerStyle (optional) | ViewStyle | |
inputStyle (optional) | ViewStyle | |
TextInputProps (optional) | TextInputProps | |
keyboardType (optional) | KeyboardTypeOptions | email-address |
Contributing
If you find a feature missing or discover an issue pull requests are very very welcome.
2.5.4
9 months ago
2.5.3
11 months ago
2.5.2
1 year ago
2.5.1
1 year ago
2.5.0
1 year ago
2.4.0
2 years ago
2.3.0
2 years ago
2.2.1
2 years ago
2.2.3
2 years ago
2.2.2
2 years ago
2.2.4
2 years ago
2.2.0
3 years ago
2.1.2
4 years ago
2.1.3
4 years ago
2.1.1
4 years ago
2.1.0
4 years ago
2.0.1
4 years ago
2.0.0
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.2
4 years ago
1.0.0
4 years ago