@gmsoft/themeable
v1.2.1
Published
主题相关组件和工具
Downloads
2
Keywords
Readme
themeable
主题相关组件和工具
usage
import {Themeable} from '@gmsoft/themeable'
<Provider store={stateContainer._store}>
<Themeable>
{children}
</Themeable>
</Provider>
如果需要追加或修改主题
const theme = {
somthing: 'somthingValue';
}
import {Themeable} from 'themeable'
<Provider store={stateContainer._store}>
<Themeable theme={theme}>
{children}
</Themeable>
</Provider>
TODO
- [ ] 通过后端配置读取当前平台或用户的主题