UNPKG

light-upload

Version:

The most powerful lightweight file upload component. Based on JS worker thread technology, it supports multi-threaded file uploads, uploads of files of any size, resumable uploads, and concurrent uploads. File uploads do not block the UI main thread. Note

12 lines (11 loc) 619 B
import { VariantProps } from 'class-variance-authority'; import * as React from "react"; declare const buttonVariants: (props?: { variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost"; size?: "default" | "sm" | "lg" | "icon"; } & import('class-variance-authority/types').ClassProp) => string; export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> { asChild?: boolean; } declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>; export { Button, buttonVariants };