FileIcon
Used to display a file icon.
???
???
import { FileIcon } from '@fintech-sandpit/ui/react';
return ( <FileIcon name="example.pdf" />);<script setup lang="ts">import { FileIcon } from '@fintech-sandpit/ui/vue';</script>
<template> <FileIcon name="example.pdf" /></template>| Name | Type | Default | Description |
|---|---|---|---|
file | File | — | The file object |
name | string | — | The name of the file |
mime | string | — | The MIME type of the file |