mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-03-16 11:29:46 +00:00
* Definition file for react-native-material-textfield * Changed label not mandatory * Format fixing for files. Passing lint.
14 lines
348 B
TypeScript
14 lines
348 B
TypeScript
import * as React from 'react';
|
|
import { View, Text } from 'react-native';
|
|
import { TextField } from 'react-native-material-textfield';
|
|
|
|
const Example = () =>
|
|
<View>
|
|
<TextField
|
|
label="Example"
|
|
multiline
|
|
placeholder="Text when field is empty"
|
|
value="Initial value"
|
|
/>
|
|
</View>;
|