UNPKG

@starter-ui/core

Version:

This is a UI Components built with the utility classes from Tailwind CSS.

19 lines (18 loc) 701 B
import { default as React, PropsWithChildren, ReactNode } from 'react'; interface Props { id?: string; color?: string; size?: string; type?: 'button' | 'submit' | 'reset'; radius?: string; disabled?: boolean; outline?: boolean; isIconOnly?: boolean; isLoading?: boolean; startIcon?: ReactNode | null; endIcon?: ReactNode | null; className?: string; onClick?: React.MouseEventHandler<HTMLButtonElement>; } declare const Button: ({ id, color, size, type, radius, className, disabled, outline, isLoading, isIconOnly, startIcon, endIcon, children, onClick, }: PropsWithChildren<Props>) => import("react/jsx-runtime").JSX.Element; export default Button;