import type { ButtonIconPropsShared } from "@metamask/design-system-shared"; import type { ComponentProps } from "react"; import type { IconProps } from "../Icon/index.cjs"; export type ButtonIconProps = ComponentProps<'button'> & ButtonIconPropsShared & { /** * Optional prop to pass additional properties to the icon */ iconProps?: Partial; /** * Required prop to provide an accessible label for the button */ ariaLabel: string; /** * Optional prop for additional CSS classes to be applied to the ButtonIcon component */ className?: string; /** * Optional CSS styles to be applied to the component. * Should be used sparingly and only for dynamic styles that can't be achieved with className. */ style?: React.CSSProperties; }; //# sourceMappingURL=ButtonIcon.types.d.cts.map