Files
react-native-web/docs/storybook/1-components/TextInput/examples/PropEditable.js
2017-09-10 10:35:07 -07:00

22 lines
485 B
JavaScript

/**
* @flow
*/
import React from 'react';
import { styles } from '../helpers';
import { TextInput, View } from 'react-native';
const TextInputEditableExample = () => (
<View>
<TextInput defaultValue="uneditable text input" editable={false} style={styles.textinput} />
<TextInput
defaultValue="uneditable multiline text input"
editable={false}
multiline={true}
style={styles.multiline}
/>
</View>
);
export default TextInputEditableExample;