UNPKG

@neuctra/ui

Version:

A modern, responsive, customizable React UI component library powered by Tailwind CSS and Vite.

29 lines (28 loc) 798 B
import { default as React, CSSProperties } from 'react'; interface ButtonProps { children: React.ReactNode; type?: "button" | "submit" | "reset"; onClick?: () => void; iconBefore?: React.ReactNode; iconAfter?: React.ReactNode; className?: string; style?: CSSProperties; fullWidth?: boolean; disabled?: boolean; loading?: boolean; loadingText?: string; paddingHorizontal?: number; paddingVertical?: number; fontSize?: string; fontWeight?: string | number; borderRadius?: number; backgroundColor?: string; textColor?: string; borderColor?: string; hoverBgColor?: string; hoverTextColor?: string; hoverBorderColor?: string; boxShadow?: string; } export declare const Button: React.FC<ButtonProps>; export {};