mirror of
https://github.com/zoriya/react-native-web.git
synced 2025-12-18 04:25:29 +00:00
22 lines
485 B
JavaScript
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;
|