ActionIcon中的ref属性改为可选。
This commit is contained in:
parent
ddfc2fff15
commit
199bd8c3e5
|
@ -7,7 +7,7 @@ type ActionIconProps = {
|
|||
icon: IconProps['icon'];
|
||||
onClick?: MouseEventHandler<HTMLButtonElement>;
|
||||
extendClassName?: HTMLButtonElement['className'];
|
||||
ref: RefObject<HTMLButtonElement>;
|
||||
ref?: RefObject<HTMLButtonElement>;
|
||||
};
|
||||
|
||||
export function ActionIcon({ icon, onClick, extendClassName, ref }: ActionIconProps) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user