UNPKG

funuicss

Version:

React and Next.js component UI Library for creating Easy and good looking websites with fewer lines of code. Elevate your web development experience with our cutting-edge React/Next.js component UI Library. Craft stunning websites effortlessly, boasting b

40 lines (39 loc) 1.3 kB
import { ReactNode } from 'react'; import * as React from 'react'; interface ButtonProps { color?: string; bg?: string; funcss?: string; startIcon?: ReactNode; endIcon?: ReactNode; text?: string; rounded?: boolean; raised?: boolean; height?: string; width?: string; float?: boolean; hoverUp?: boolean; fullWidth?: boolean; outlined?: boolean; small?: boolean; smaller?: boolean; big?: boolean; bigger?: boolean; jumbo?: boolean; flat?: boolean; hoverNone?: boolean; fillAnimation?: boolean; bold?: boolean; hoverless?: boolean; fillDirection?: string; fillTextColor?: string; buttonFillStyle?: React.CSSProperties; outlineSize?: number; isLoading?: boolean; status?: 'success' | 'warning' | 'info' | 'danger'; children?: React.ReactNode; style?: React.CSSProperties; onClick?: () => void; } export default function Button({ color, bg, funcss, startIcon, endIcon, text, rounded, raised, height, width, float, hoverUp, fullWidth, outlined, small, hoverless, smaller, big, bigger, jumbo, flat, hoverNone, fillAnimation, fillDirection, fillTextColor, outlineSize, isLoading, status, children, bold, style, onClick, ...rest }: ButtonProps): React.JSX.Element; export {};