mt-flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS
10 lines (9 loc) • 472 B
TypeScript
import { type ComponentPropsWithoutRef, type ElementType } from 'react';
export type ButtonBaseProps<T extends ElementType = 'button'> = {
as?: T;
href?: string;
} & ComponentPropsWithoutRef<T>;
export declare const ButtonBase: <T extends ElementType = "button">(props: {
as?: T | undefined;
href?: string | undefined;
} & import("react").PropsWithoutRef<import("react").ComponentProps<T>> & import("react").RefAttributes<T>) => import("react").ReactNode;