import { useState } from 'react' import { Button, Icon, IconButton, Space, TextButton } from '../../src' import { Demo } from '../components/Demo' import { PropsTable } from '../components/PropsTable' import { Section } from '../components/Section' export function Buttons() { const [loading, setLoading] = useState(false) const loadOnce = () => { setLoading(true) window.setTimeout(() => setLoading(false), 1200) } return (
保存 `} > 登录 `} > 小号 `} > 提交 `} > }>重新扫描 `} > } /> } variant="soft" /> } size="xs" /> } spinning variant="soft" />`} > } /> } /> } variant="soft" /> } size="xs" /> } size="md" variant="soft" /> } spinning variant="soft" /> 大按钮 `} > }>新建子分组 }>编辑 }>删除 禁用`} > }>新建子分组 }>编辑 }> 删除 }> 禁用 void', desc: '点击回调' }, { name: 'title / label', type: 'string', desc: '悬停提示 / 无障碍名称' }, ]} />
) }