react-awesome-button-namdaoduy
Version:
Performant, extendable, highly customisable, production ready React Component that renders an animated basic set of UI buttons
27 lines (24 loc) • 509 B
JavaScript
// TODO: create array on build.
export const THEMES = [
'theme-amber',
'theme-blue',
'theme-c137',
'theme-eric',
'theme-flat',
'theme-indigo',
'theme-one',
'theme-orange',
'theme-red',
'theme-rickiest',
'theme-three',
'theme-two',
];
export const MODULES = [];
THEMES.forEach((theme) => {
// eslint-disable-next-line
MODULES[theme] = require(`../../src/styles/themes/${theme}/styles.scss`);
});
export default {
Modules: MODULES,
Themes: THEMES,
};