@sb1/ffe-file-upload-react
TypeScript icon, indicating that this package has built-in type declarations

12.0.75 • Public • Published

@sb1/ffe-file-upload-react

Upload file button with validation and list of uploaded files.

NB! FileReader is not supported in IE9 or below so this component will not work for older browsers(http://caniuse.com/#search=filereader)

Install

npm install --save @sb1/ffe-file-upload-react

Usage

Full documentation on file upload usage is available at https://design.sparebank1.no/komponenter/skjemaelementer/#fileupload.

This package depends on @sb1/ffe-icons-react, @sb1/ffe-buttons-react and @sb1/ffe-form-react. Make sure you import the less-files.

Development

To start a local development server, run the following from the designsystem root folder:

npm install
npm run build
npm start

A local instance of component-overview with live reloading will run at http://localhost:1234/.

Example implementations using the latest versions of all components are also available at https://sparebank1.github.io/designsystem.

Readme

Keywords

Package Sidebar

Install

npm i @sb1/ffe-file-upload-react

Weekly Downloads

495

Version

12.0.75

License

MIT

Unpacked Size

30.4 kB

Total Files

18

Last publish

Collaborators

  • antidecaf
  • sb1-designsystem
  • kwltrs
  • erlingk