Themes
Change the theme
Currently LIGHT
and DARK
themes are available.
DEFAULT
LIGHT
DARK
theme="DARK"
Type | Default |
---|---|
string | LIGHT |
Change the default theme
DropDownPicker.setTheme("DARK");
Add a theme
Please see the LIGHT
theme styles as a starting point.
const myTheme = require("./my-theme");
DropDownPicker.addTheme("MyThemeName", myTheme);
DropDownPicker.setTheme("MyThemeName");