Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

native base change track color

 use trackColor Attribute
 
 <Switch 
      trackColor={{true: 'red', false: 'grey'}}
      onValueChange={this.toggleSwitch}
      value={true}/>
      
      
 
PREVIOUS NEXT
Tagged: #native #base #change #track #color
ADD COMMENT
Topic
Name
4+1 =