Skip to content

Commit

Permalink
feat: support more props for icon button (#7831)
Browse files Browse the repository at this point in the history
  • Loading branch information
mintsweet authored Aug 5, 2024
1 parent 68a2e98 commit aa16e2a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config-ui/src/components/action/icon-button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ import { forwardRef, Ref } from 'react';
import type { ButtonProps } from 'antd';
import { Tooltip, Button } from 'antd';

interface Props extends Pick<ButtonProps, 'icon' | 'type' | 'size' | 'onClick'> {
interface Props
extends Pick<
ButtonProps,
'type' | 'icon' | 'size' | 'disabled' | 'loading' | 'ghost' | 'danger' | 'block' | 'onClick'
> {
helptip: string;
}

Expand Down

0 comments on commit aa16e2a

Please sign in to comment.