Quinn
Quinn

Reputation: 774

how to customize border of Icon TextBox Form in Native-Base?

i use Native-Base in my react project. and i want to customize width of border Icon TextBox form in Native-Base. this my code

<Item>
   <Icon active name='lock' />
   <Input placeholder='password'/>
</Item>

this is the show

enter image description here

so, how to customize the margin right in the border?. thanks

Upvotes: 2

Views: 667

Answers (1)

Ben Hur Martins
Ben Hur Martins

Reputation: 121

Try this:

<Item>
   <Icon active name='lock' style={{borderWidth: 10}}/>
   <Input placeholder='password'/>
</Item>

Upvotes: 1

Related Questions