@amsterdam/design-system-react
Version:
All React components from the Amsterdam Design System. Use it to compose pages in your website or application.
21 lines (20 loc) • 987 B
TypeScript
/**
* @license EUPL-1.2+
* Copyright Gemeente Amsterdam
*/
import type { HTMLAttributes, PropsWithChildren } from 'react';
export type FileListProps = PropsWithChildren<HTMLAttributes<HTMLUListElement>>;
export declare const FileListRoot: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLUListElement> & {
children?: import("react").ReactNode | undefined;
} & import("react").RefAttributes<HTMLOListElement>>;
/**
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-file-list--docs File List docs at Amsterdam Design System}
*/
export declare const FileList: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLUListElement> & {
children?: import("react").ReactNode | undefined;
} & import("react").RefAttributes<HTMLOListElement>> & {
Item: import("react").ForwardRefExoticComponent<{
file: File;
onDelete?: () => void;
} & HTMLAttributes<HTMLLIElement> & import("react").RefAttributes<HTMLLIElement>>;
};