Skip to content

Button with a boolean state for react native. Changes color when selected.

Notifications You must be signed in to change notification settings

nichrago/react-native-boolean-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

react-native-boolean-button

Button with a boolean state for react native. Changes color when selected.

import BooleanButton from './BooleanButton';

...

<BooleanButton 
  onPress={this._myButtonPressed.bind(this)}
  selected={this.state.isSelected}
  size={30}
  borderWidth={5}
  buttonColor='white'
  borderColor='black'
  selectedButtonColor='black'
  selectedBorderColor='grey'
/>

About

Button with a boolean state for react native. Changes color when selected.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published