Releases: corygibbons/react-file-icon
Releases · corygibbons/react-file-icon
v1.5.0
- Replace
lodash.uniqueid
withReact.useId
+ fallback (thanks @kensnyder) - Add default style for
.heic
extension
v1.4.0
- Add
android
glyph type - Add new default styles for
.aab
,.apk
,.apkm
,.apks
,.skp
, and.xapk
extensions - Make all
id
attributes unique
v1.3.0
- Switch out
tinycolor2
withcolord
to reduce bundle size (thanks @lounsbrough)
v1.2.0
- Add support for React 18 (thanks @danielr18)
v1.1.0
- Add support for React 17
- Bump dependencies
v1.0.0
react
andreact-dom
moved topeerDependencies
xmlns
definition added tosvg
Breaking changes
FileIcon
is no longer the default export, it needs to be imported like this instead:import { FileIcon } from 'react-file-icon'
size
prop is removed and the icon is now always 100% width of the container