Move 'website' to 'packages/website'

Keep all workspaces in the 'packages' directory.
This commit is contained in:
Nicolas Gallagher
2018-05-22 16:27:33 -07:00
parent b4e3427fea
commit a8e5d43db5
168 changed files with 15 additions and 16 deletions

View File

@@ -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;