We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TODO
dLoading
1 parent 6ff7432 commit 2b86ddeCopy full SHA for 2b86dde
packages/ui/src/components/button/Button.tsx
@@ -14,6 +14,7 @@ import { useComponentConfig, usePrefixConfig } from '../root';
14
export interface DButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
15
dType?: 'primary' | 'secondary' | 'outline' | 'dashed' | 'text' | 'link';
16
dTheme?: 'primary' | 'success' | 'warning' | 'danger';
17
+ // TODO: Should add `aria-busy` for loading state?
18
dLoading?: boolean;
19
dBlock?: boolean;
20
dVariant?: 'circle' | 'round';
0 commit comments