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

Add Placeholder #269

Open mukash opened 2 years ago

mukash commented 2 years ago

How to add placeholder? this my code

<TextInputMask
      type={'money'}
      value={Amount}
      onChangeText={text => {
        seAmount(text);
      }}
      placeholder="Ex: $500,000"
      options={{
        precision: 0,
        separator: ',',
        delimiter: '.',
        unit: '$ ',
        suffixUnit: '',
      }}
      style={styles.field}
/>
mukash commented 2 years ago

My bad i want not adding placeholderTextColor props !!