Skip to content

Releases: corygibbons/react-file-icon

v1.5.0

08 Jun 00:29
794885b
Compare
Choose a tag to compare
  • Replace lodash.uniqueid with React.useId + fallback (thanks @kensnyder)
  • Add default style for .heic extension

v1.4.0

28 Dec 23:45
b1a9b19
Compare
Choose a tag to compare
  • 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

16 Dec 17:06
Compare
Choose a tag to compare
  • Switch out tinycolor2 with colord to reduce bundle size (thanks @lounsbrough)

v1.2.0

15 Jul 00:54
Compare
Choose a tag to compare

v1.1.0

29 Jul 18:58
Compare
Choose a tag to compare
  • Add support for React 17
  • Bump dependencies

v1.0.0

05 Jul 15:22
Compare
Choose a tag to compare
  • react and react-dom moved to peerDependencies
  • xmlns definition added to svg

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