1.1.7 • Published 1 year ago

@brighthr/component-fileicon v1.1.7

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

FileIcon

To install, type the following into the command line at the root of your project:

npm i @brighthr/component-fileicon

To implement the FileIcon component into your project you’ll need to add the import:

import FileIcon from '@brighthr/component-fileicon';

After adding import into your project you can use it simply like:

<FileIcon />

Props

NameTypeDefaultDescription
fileNamestringUses the file name to set an icon to match the file type, (eg: .pdf, .csv)
size'xxs' 'xs' 'sm' 'base' 'lg' 'xl' 'xxl'Sets the size of the icon.
1.1.7

1 year ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago