UNPKG

@thinkbuff/figma-react

Version:

A Figma React UI components for creating plugins and widgets

12 lines (11 loc) 552 B
interface ActionIconProps extends Omit<React.ComponentPropsWithoutRef<'button'>, 'color'> { /** * Change the default rendered element for the one passed as a child, merging their props and behavior. * * Read [Composition](https://www.radix-ui.com/primitives/docs/guides/composition) guide for more details. */ asChild?: boolean; } declare const ActionIcon: import('react').ForwardRefExoticComponent<ActionIconProps & import('react').RefAttributes<HTMLButtonElement>>; export { ActionIcon }; export type { ActionIconProps };