UNPKG

boreui

Version:

A modern, reusable React component library built with TypeScript.

31 lines (27 loc) 1.19 kB
import * as React from 'react'; import * as react_jsx_runtime from 'react/jsx-runtime'; declare const buttonVariants: { variant: { default: string; outline: string; ghost: string; }; size: { sm: string; md: string; lg: string; }; }; type Variant = keyof typeof buttonVariants.variant; type Size = keyof typeof buttonVariants.size; interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> { variant?: Variant; size?: Size; className?: string; } declare const Button: React.FC<ButtonProps>; declare const Card: ({ children, className, ...props }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element; declare const CardHeader: ({ children, className, ...props }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element; declare const CardBody: ({ children, className, ...props }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element; declare const CardFooter: ({ children, className, ...props }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element; export { Button, type ButtonProps, Card, CardBody, CardFooter, CardHeader };