API Docs for:
Show:

components.FileItem Class

Defined in: bundle.js:4882
Module: filesize

Visualize file on a list

Constructor

components.FileItem

(
  • props
)

Defined in bundle.js:4882

Parameters:

  • props Object
    • name String
    • mime String
    • size Number

Item Index

Methods

getFAIcon

() String

Infer font-awesome icon for this file type. This is pretty shit but better than nothing :)

Returns:

String:

getFAIcon

() String

Infer font-awesome icon for this file type. This is pretty shit but better than nothing :)

Returns:

String:

getFAIcon

() String

Defined in bundle.js:4901

Infer font-awesome icon for this file type. This is pretty shit but better than nothing :)

Returns:

String: