Files
react-native-web/packages/website/storybook/1-components/TextInput/examples/PropAutoCapitalize.js
Nicolas Gallagher a8e5d43db5 Move 'website' to 'packages/website'
Keep all workspaces in the 'packages' directory.
2018-06-03 11:32:55 -07:00

27 lines
735 B
JavaScript

/**
* @flow
*/
import React from 'react';
import { WithLabel, styles } from '../helpers';
import { TextInput, View } from 'react-native';
const TextInputAutoCapitalizeExample = () => (
<View>
<WithLabel label="none">
<TextInput autoCapitalize="none" style={styles.textinput} />
</WithLabel>
<WithLabel label="sentences">
<TextInput autoCapitalize="sentences" style={styles.textinput} />
</WithLabel>
<WithLabel label="words">
<TextInput autoCapitalize="words" style={styles.textinput} />
</WithLabel>
<WithLabel label="characters">
<TextInput autoCapitalize="characters" style={styles.textinput} />
</WithLabel>
</View>
);
export default TextInputAutoCapitalizeExample;