@fleek-platform/agents-ui
Version:
The Fleek Platform Agents UI provides a simple interface for deploying, monitoring, and configuring your agents––making management straightforward
15 lines (14 loc) • 708 B
TypeScript
import { type ButtonProps } from '@components/Button';
import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
export declare const useFileUploadContext: () => {
inputRef: React.RefObject<HTMLInputElement>;
};
export type FileUploadProps = {
children: ReactNode;
maxFileSize?: number;
onFileChange?: (file: FileList) => void;
} & ComponentPropsWithoutRef<'input'>;
export declare const FileUpload: ({ children, className, maxFileSize, onFileChange, ...inputProps }: FileUploadProps) => import("react/jsx-runtime").JSX.Element;
export declare const FileUploadTrigger: ({ asChild, ...props }: ButtonProps & {
asChild?: boolean;
}) => import("react/jsx-runtime").JSX.Element;