bhrott / react-native-masked-text

A pure javascript masked text and input text component for React-Native.
MIT License
1.61k stars 249 forks source link

DOCS: Improve the readablility of some parts of code. #194

Open ghost opened 5 years ago

ghost commented 5 years ago

It would be nice to remove some useless backets on documentation code.

Example:

<TextInputMask
  type={'cpf'}
  value={this.state.cpf}
  onChangeText={text => {
    this.setState({
      cpf: text
    })
  }}
/>

It would be better a example like this

<TextInputMask
  type='cpf'
  value={this.state.cpf}
  onChangeText={text => {
    this.setState({
      cpf: text
    })
  }}
/>
ghost commented 5 years ago

I'm now working on that.