UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

11 lines (10 loc) 384 B
import type { ButtonProps as AntdButtonProps } from 'antd'; import type { Ref } from 'react'; import type { IconProps } from "../Icon"; export interface ButtonProps extends Omit<AntdButtonProps, 'icon'> { glass?: boolean; icon?: IconProps['icon']; iconProps?: Partial<Omit<IconProps, 'icon'>>; ref?: Ref<HTMLButtonElement | HTMLAnchorElement>; shadow?: boolean; }