@dndbuilder.com/react
Version:
Drag and drop builder for React
13 lines (12 loc) • 682 B
TypeScript
import { default as React } from 'react';
import { VariantProps } from 'class-variance-authority';
declare const buttonVariants: (props?: ({
variant?: "default" | "link" | "outline" | "secondary" | null | undefined;
size?: "xs" | "sm" | "lg" | "default" | "icon" | null | undefined;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
asChild?: boolean;
}
export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
export {};
//# sourceMappingURL=button.d.ts.map