@nextime-ui/react
Version:
NeXTIME UI é uma biblioteca de componentes para React, fundamentada no Preline UI. Ela faz a inclusão do recurso 'use client' em seus componentes, uma estratégia eficaz para solucionar problemas existentes no Next.js versão 15.
19 lines (16 loc) • 779 B
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { ReactNode, ButtonHTMLAttributes } from 'react';
type ButtonProps = {
type?: 'button' | 'submit' | 'reset';
variant?: 'solid' | 'outline' | 'ghost' | 'soft' | 'white' | 'link';
size?: 'small' | 'default' | 'large' | 'icon';
color?: 'blue' | 'gray' | 'red' | 'yellow' | 'teal' | 'white';
isLoading?: boolean;
isFullWidth?: boolean;
rounded?: boolean;
startIcon?: ReactNode;
endIcon?: ReactNode;
children?: ReactNode;
} & ButtonHTMLAttributes<HTMLButtonElement>;
declare const Button: ({ type, variant, size, color, isLoading, isFullWidth, rounded, startIcon, endIcon, children, ...props }: ButtonProps) => react_jsx_runtime.JSX.Element;
export { Button, type ButtonProps };