1.0.2 • Published 1 year ago
shadow-view-react v1.0.2
ShadowViewReact
基于shadow-view
包定制,服务于hel-micro-react
安装
npm i shadow-view-react --save
使用
function App() {
return (
<ShadowView
scoped={{
style: `*{color:red;}`,
imports: ['aaa.css'],
}}
>
<div>这是一个测试</div>
</ShadowView>
);
}