flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS
7 lines (6 loc) • 362 B
TypeScript
import type { ComponentPropsWithoutRef, ElementType } from "react";
export type ButtonBaseProps<T extends ElementType = "button"> = {
as?: T;
href?: string;
} & ComponentPropsWithoutRef<T>;
export declare const ButtonBase: import("react").ForwardRefExoticComponent<Omit<ButtonBaseProps<ElementType>, "ref"> & import("react").RefAttributes<ElementType>>;