twind content:Twind的扩展提供CSS内容属性指令 源码
@ twind /React 一种样式的API,灵感来自。 这是Alpha版本的发布。 期待龙... 安装 从npm安装: # Using npm npm install @twind/react # Using Yarn yarn add @twind/react 用法 请参阅以获取配置示例。 const Button = styled ( 'button' , { base : 'text-base' , variants : { size : { sm : `text-sm` , lg : `text-lg` , } , } , } ) < Button > Click Me < /Button> < Button size = "lg" > Click Me < / Button > 执照
下载地址
用户评论