Skip to content

Commit

Permalink
Way to update the style
Browse files Browse the repository at this point in the history
  • Loading branch information
arunghosh authored Sep 6, 2017
1 parent 721ca41 commit abdb284
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,30 @@ The component takes in the length of the PIN and two callback to notifiy change
- ```ele.focus()``` to set focus on the first input element.
- ```ele.clear``` to clear the values

**Style**

Currently there is no proper way to set the style. As a hack you can override the default style.

```scss
.pincode-input-container
{
.pincode-input-text
{
padding:0 !important;
margin:0 2px;
text-align:center;
border: 1px solid;
background: transparent;
width: 50px;
height: 50px;
}
.pincode-input-text:focus
{
outline:none;
box-shadow:none;
}
}
```


### For developers
Expand Down

0 comments on commit abdb284

Please sign in to comment.