react-file-icon
react-file-icon copied to clipboard
React component that makes it easy to render themeable svg file icons.
facing below issue: Property 'myDynamicTypeVariable' does not exist on type 'Record'.ts(2339)
I create colored version demo, based on the demo from readme file. word, text, -> blue tone excel, sheet -> green tone video, audio -> purple tone image -> orange...
Seems unnecessary since the text can be formatted before setting the `extension` prop.
Hi this is a great project @corygibbons ! What do you think about adding a prop like `usingDefaultStyles` that would use the defaults styles based on the extension? So instead...
Hi, I need to know how to reduce the font size for label, also how can I position it?
Would be cool if we could pass inline style to the SVG element.
Hi, Thanks for a great library. There is a small suggestion: using mime types instead of current map, as they are standardized and much easier to utilize directly.
Can I add the className attribute ?