-
引入
import { SanButton } from 'Sanft' -
使用
<SanButton size={ButtonSize.Small} onClick={e => { e.preventDefault() message.info("hello") }} > Hello world </SanButton> -
以storybook启动项目
npm run storybook
dizzy-Lee/sanft
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|