【文件属性】:
文件名称:annar:优雅、简洁的 Remax 组件库
文件大小:670KB
文件格式:ZIP
更新时间:2021-04-14 00:43:34
react javascript typescript ui component
Annar
优雅、简洁的 Remax 组件库
:dizzy: 特性
基于 Remax 开发 UI 组件
支持微信 支付宝 钉钉 小程序多端适配运行
支持 Web 开发
支持按需引入
支持 TypeScript
:package: 安装
npm install annar
yarn add annar
:ribbon: 使用
小程序
import { Button } from 'annar';
const App = () => (
<>
<Button>Click Annar</Button>
</>
);
在 app.js 中引入样式:
import 'annar/dist/annar.css';
Web
使用 Web 组件开发需要依赖 remax/one
npm install remax/one
import { Button } from 'annar/web';
const App = () => (