mirror of
https://github.com/zoriya/react-native-web.git
synced 2025-12-18 12:35:12 +00:00
Move 'website' to 'packages/website'
Keep all workspaces in the 'packages' directory.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* @flow
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import { styles, WithLabel } from '../helpers';
|
||||
import { TextInput, View } from 'react-native';
|
||||
|
||||
const TextInputClearButtonModeExample = () => (
|
||||
<View>
|
||||
<WithLabel label="never">
|
||||
<TextInput clearButtonMode="never" style={styles.textinput} />
|
||||
</WithLabel>
|
||||
<WithLabel label="while editing">
|
||||
<TextInput clearButtonMode="while-editing" style={styles.textinput} />
|
||||
</WithLabel>
|
||||
<WithLabel label="unless editing">
|
||||
<TextInput clearButtonMode="unless-editing" style={styles.textinput} />
|
||||
</WithLabel>
|
||||
<WithLabel label="always">
|
||||
<TextInput clearButtonMode="always" style={styles.textinput} />
|
||||
</WithLabel>
|
||||
</View>
|
||||
);
|
||||
|
||||
export default TextInputClearButtonModeExample;
|
||||
Reference in New Issue
Block a user