FileThumbnailFabric component
Component for rendering a file upload preview thumbnail.
đ Signatureâ
FileThumbnailFabric(props: {
controller: IFileController;
service?: IFileService;
host?: (props: { children: ReactNode }) => JSX.Element;
error?: ReactNode;
loading?: ReactNode;
}): JSX.Element
đ Propsâ
Name | Type | Optional | Description |
---|---|---|---|
controller | IFileController[] | No | Specifies the file controller (see IFileController ). |
service | IFileService[] | Yes | Specifies the file service (see IFileService ). |
host | (props: { children: ReactNode }) => JSX.Element | Yes | Specifies the host. |
error | ReactNode | Yes | Specifies the error icon. |
loading | ReactNode | Yes | Specifies the loading icon. |
âŠī¸ Return valueâ
Returns the JSX.Element
for the component.