gov-gui
Version:
Gov UI Component Library Typscript Build
144 lines (143 loc) • 3.75 kB
TypeScript
import '../../global/animate.min.css';
/**
* The `gov-upload` component provides an interface for users to upload files via drag-and-drop or file input.
* It supports multiple file types, handles file upload status (loading, done, warning, failed), and allows customization of allowed file types.
*/
declare const _default: {
title: string;
tags: string[];
parameters: {
actions: {
handles: string[];
};
};
argTypes: {
allowedFileTypes: {
control: {
type: string;
};
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string[];
};
category: string;
};
};
required: {
control: string;
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: boolean;
};
category: string;
};
};
animation: {
control: string;
options: string[];
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
category: string;
};
};
animationDelay: {
control: string;
options: string[];
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
category: string;
};
};
animationSpeed: {
control: string;
options: string[];
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
category: string;
};
};
status: {
control: {
type: string;
options: string[];
};
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
category: string;
};
};
fileNameValue: {
control: string;
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
category: string;
};
};
setUploadUrl: {
control: string;
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
category: string;
};
};
validate: {
control: string;
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
category: string;
};
};
};
};
export default _default;
export declare const Upload: any;