【文件属性】:
文件名称:react-native-theming:React Native应用程序的主题库
文件大小:378KB
文件格式:ZIP
更新时间:2021-05-17 08:31:11
JavaScript
React性主题
一个高效且与StyleSheet.create兼容的主题库,用于React Native。
安装
$ yarn add react-native-theming 或者$ npm install --save react-native-theming
用法
创建主题
import { createTheme } from 'react-native-theming'
const themes = [
createTheme ( {
backgroundColor : 'white' ,
textColor : 'black' ,
buttonColor : 'blue' ,
buttonText : 'white' ,
icon : require ( './icons/default.png' ) ,
statusBa
【文件预览】:
react-native-theming-master
----.gitignore(88B)
----README.md(13B)
----lerna.json(89B)
----docs()
--------demo.gif(314KB)
----.eslintrc(299B)
----__tests__()
--------index.android.js(284B)
--------index.ios.js(280B)
----package.json(106B)
----.babelrc(33B)
----.flowconfig(1KB)
----yarn.lock(209KB)
----lib()
--------README.md(4KB)
--------package.json(1KB)
--------src()
--------index.d.ts(607B)
----demo()
--------icons()
--------README.md(694B)
--------package.json(390B)
--------index.js(3KB)