21 lines
315 B
Markdown
21 lines
315 B
Markdown
## 介绍
|
|
|
|
原子组件,基于 @zhst/hooks、@zhst/func 开发。
|
|
|
|
## 安装
|
|
|
|
> pnpm install @zhst/meta
|
|
|
|
## 使用
|
|
|
|
```jsx
|
|
import React from 'react';
|
|
import { Button } from '@zhst/meta'
|
|
|
|
export default () => {
|
|
return (
|
|
<Button type="primary" onClick={() => console.log('ok')} >按我啊!</Button>
|
|
)
|
|
}
|
|
```
|