【文件属性】:
文件名称:style-resets:重置为内联样式
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-06 22:51:58
JavaScript
风格残留
重置为内联样式
安装
$ npm install --save style-resets
进口
import { button , list , input } from "style-resets"
用法
import { button } from "style-resets"
const styles = createStyleSheet ( {
button : {
... button , // adds reset
background : "#999" ,
color : "#fff" ,
} ,
} )
【文件预览】:
style-resets-master
----.gitignore(41B)
----package.json(906B)
----.nvmrc(6B)
----.travis.yml(36B)
----LICENSE(1KB)
----README.md(379B)
----lib()
--------index.js(665B)
--------__tests__()