quantumai-design-system
Version:
퀀텀에이아이의 디자인 시스템
12 lines (11 loc) • 530 B
TypeScript
import React from 'react';
import { MarginType } from '../../../types/styleType';
import { BUTTON_ICON_OPTION } from './options';
import { IconType } from '../../Base/Icon/IconsPath';
export interface IButtonIconProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, MarginType {
icon: IconType | JSX.Element;
size?: keyof typeof BUTTON_ICON_OPTION;
dot?: boolean;
}
declare const ButtonIcon: React.ForwardRefExoticComponent<IButtonIconProps & React.RefAttributes<HTMLButtonElement>>;
export default ButtonIcon;