

import React, {Component} from 'react';
import {View, Text, StyleSheet, Image} from 'react-native';
import { Container, Content, ListItem, CheckBox, Body } from 'native-base';
class FixCheckbox extends Component {
static navigationOptions = {
header: null
};
render() {
return (
<Container style={styles.container}>
<Content>
<ListItem>
<CheckBox checked={true} />
<Body>
<Text>Daily Stand Up</Text>
</Body>
</ListItem>
<ListItem>
<CheckBox checked={true} color='white' />
<Body>
<Text>Checkbox when 'checked' is false</Text>
</Body>
</ListItem>
</Content>
</Container>
)
}
}
export default FixCheckbox;
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#00c5cd',
display: 'flex',
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'center',
padding: 20,
}
})
@madhav Refer to Customize section of native-base in docs
https://docs.nativebase.io/Customize.html#Customize
1)eject native-base-theme
2)change color for checkboxTickColor in platform.js/material.js/commoncolor.js within variables folder of native-base-theme
3)Then run the following code snippet in App.js
import React, { Component } from "react";
import { View, Text, StyleSheet, Image } from "react-native";
import {
Container,
Content,
ListItem,
CheckBox,
Body,
StyleProvider,
} from "native-base";
import getTheme from "./native-base-theme/components";
import material from "./native-base-theme/variables/platform";
class FixCheckbox extends Component {
static navigationOptions = {
header: null,
};
render() {
return (
<StyleProvider style={getTheme(material)}>
<Container style={styles.container}>
<Content>
<ListItem>
<CheckBox checked={true} />
<Body>
<Text>Daily Stand Up</Text>
</Body>
</ListItem>
<ListItem>
<CheckBox checked={true} color="white" />
<Body>
<Text>Checkbox when 'checked' is false</Text>
</Body>
</ListItem>
</Content>
</Container>
</StyleProvider>
);
}
}
export default FixCheckbox;
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: "#00c5cd",
display: "flex",
flexDirection: "row",
alignItems: "center",
justifyContent: "center",
padding: 20,
},
});


Thank you
Imo, please just expose checkboxTickColor as a prop so we don't have to go through the process of ejecting for a pretty basic customization.
@JoeRoddy has a good point!
Most helpful comment
Imo, please just expose
checkboxTickColoras a prop so we don't have to go through the process of ejecting for a pretty basic customization.