@thinkbuff/figma-react
Version:
A Figma React UI components for creating plugins and widgets
13 lines (12 loc) • 610 B
TypeScript
import { ButtonVariantsProps } from './button-variants';
interface ButtonProps extends Omit<React.ComponentPropsWithoutRef<'button'>, 'color'>, ButtonVariantsProps {
/**
* 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 Button: import('react').ForwardRefExoticComponent<ButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
export { Button };
export type { ButtonProps };