Skip to content

Commit 423fc33

Browse files
committed
fix docs
1 parent 15e46fe commit 423fc33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

markdowns/getting-started/usage.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ For detailed information please go over the other sections: Style, Modifiers, Co
1010

1111
```jsx
1212
import React, {Component} from 'react';
13-
import {View, TextInput, Text, Button} from 'react-native-ui-lib';
13+
import {View, TextField, Text, Button} from 'react-native-ui-lib';
1414

1515
export default class Example extends Component {
1616

1717
render() {
1818
return (
1919
<View flex paddingH-25 paddingT-120>
2020
<Text blue50 text20>Welcome</Text>
21-
<TextInput text50 placeholder="username" dark10/>
22-
<TextInput text50 placeholder="password" secureTextEntry dark10/>
21+
<TextField text50 placeholder="username" dark10/>
22+
<TextField text50 placeholder="password" secureTextEntry dark10/>
2323
<View marginT-100 center>
2424
<Button text70 white background-orange30 label="Login"/>
2525
<Button link text70 orange30 label="Sign Up" marginT-20/>

0 commit comments

Comments
 (0)