mirror of
https://github.com/zoriya/react-native-web.git
synced 2025-12-20 05:25:24 +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 } from '../helpers';
|
||||
import { TextInput, View } from 'react-native';
|
||||
|
||||
const TextInputNumberOfLinesExample = () => (
|
||||
<View>
|
||||
<TextInput
|
||||
multiline={true}
|
||||
numberOfLines={2}
|
||||
placeholder="numberOfLines = 2"
|
||||
style={[styles.multiline, { height: 'auto' }]}
|
||||
/>
|
||||
<TextInput
|
||||
multiline={true}
|
||||
numberOfLines={3}
|
||||
placeholder="numberOfLines = 3"
|
||||
style={[styles.multiline, { height: 'auto' }]}
|
||||
/>
|
||||
</View>
|
||||
);
|
||||
|
||||
export default TextInputNumberOfLinesExample;
|
||||
Reference in New Issue
Block a user