Skip to content

Folder based file browser given a flat keyed list of objects, powered by React.

License

Notifications You must be signed in to change notification settings

gigantum/react-keyed-file-browser

This branch is 34 commits ahead of, 282 commits behind uptick/react-keyed-file-browser:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f827786 · Apr 3, 2018

History

66 Commits
Mar 27, 2018
Apr 27, 2017
Mar 21, 2018
Nov 22, 2016
Nov 25, 2016
Nov 22, 2016
Apr 27, 2017
Nov 24, 2016
Jul 11, 2017
Apr 26, 2017
Jul 11, 2017

Repository files navigation

react-keyed-file-browser

npm version Downloads

Folder based file browser given a flat keyed list of objects, powered by React.

Live Demo

Check out the live demo here: http://abasystems.github.io/react-keyed-file-browser/

Installation

Install the package with npm:

npm install react-keyed-file-browser

Then require and use with ES6 imports:

import React from 'react'
import ReactDOM from 'react-dom'

import FileBrowser from 'react-keyed-file-browser'

var mount = document.querySelectorAll('div.browser-mount');
ReactDOM.render(
  <FileBrowser
    files=[]
  />,
  mount[0]
);

Optionally, include the built css with an import:

@import 'node_modules/react-keyed-file-browser/dist/react-keyed-file-browser.css';

or tag:

<link
  href="static/node_modules/react-keyed-file-browser/dist/react-keyed-file-browser.css"
  rel="stylesheet"
>

Full reference documentation coming soon. For now, take a look at the reference implementation with event handlers on the live demo at http://abasystems.github.io/react-keyed-file-browser/.

About

Folder based file browser given a flat keyed list of objects, powered by React.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 57.9%
  • CSS 40.6%
  • HTML 1.5%