react": "15.4.2"
native-base": "^2.0.5"
react-native": "0.41.2"
Able to customize the theme.
Shows error undefined is not a function (evaluating '(0,_color2.default)(this.radioColor).darken(0.2).hexString()')
Follow the steps in the documentation: http://docs.nativebase.io/CUSTOMIZE.html#Theming_NativeBase_Apps
E.g.
import {Container, Content, Text} from 'native-base';
import React, {Component} from 'react-native';
import getTheme from './native-base-theme/components';
import material from './native-base-theme/variables/material';
鈥媏xport default class ThemeExample extends Component {
render() {
return (
<StyleProvider style={getTheme(material)}>
<Container>
<Content>
<Text>
I have changed the text color.
</Text>
</Content>
</Container>
</StyleProvider>
);
}
}

Both
You need to change hexString() to string()
And install npm install color -S
@RichardLindhout It works. Thanks.
Works for me as well. thanks!
Most helpful comment
And install npm install color -S