{"version":3,"file":"ButtonIcon.types.cjs","sourceRoot":"","sources":["../../../src/components/ButtonIcon/ButtonIcon.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ButtonIconPropsShared } from '@metamask/design-system-shared';\nimport type { ComponentProps } from 'react';\n\nimport type { IconProps } from '../Icon';\n\nexport type ButtonIconProps = ComponentProps<'button'> &\n  ButtonIconPropsShared & {\n    /**\n     * Optional prop to pass additional properties to the icon\n     */\n    iconProps?: Partial<IconProps>;\n    /**\n     * Required prop to provide an accessible label for the button\n     */\n    ariaLabel: string;\n    /**\n     * Optional prop for additional CSS classes to be applied to the ButtonIcon component\n     */\n    className?: string;\n    /**\n     * Optional CSS styles to be applied to the component.\n     * Should be used sparingly and only for dynamic styles that can't be achieved with className.\n     */\n    style?: React.CSSProperties;\n  };\n"]}