printer-notifications/node_modules/@skeletonlabs/skeleton/dist/components/FileButton/FileButton.svelte.d.ts
2023-11-13 16:10:04 -05:00

34 lines
1.1 KiB
TypeScript

import { SvelteComponentTyped } from "svelte";
declare const __propDef: {
props: {
[x: string]: any;
/** Bind FileList to the file input.*/
files?: FileList | undefined;
/** File input reference.*/
fileInput?: HTMLInputElement | undefined;
/** Required. Set a unique name for the file input.*/
name: string;
/** Provide classes to set the width.*/
width?: string | undefined;
/** Provide a button variant or other class styles.*/
button?: string | undefined;
};
events: {
change: Event;
keydown: KeyboardEvent;
keyup: KeyboardEvent;
keypress: KeyboardEvent;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {};
};
};
export type FileButtonProps = typeof __propDef.props;
export type FileButtonEvents = typeof __propDef.events;
export type FileButtonSlots = typeof __propDef.slots;
export default class FileButton extends SvelteComponentTyped<FileButtonProps, FileButtonEvents, FileButtonSlots> {
}
export {};