Skip to content

codefreak/react-file-manager

This branch is 1 commit ahead of, 1 commit behind master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

de73848 · Feb 18, 2025
Apr 27, 2021
May 17, 2021
Aug 2, 2021
May 17, 2021
Feb 16, 2021
Apr 27, 2021
Mar 29, 2021
Apr 27, 2021
May 21, 2021
May 21, 2021
Apr 23, 2021
Aug 2, 2021
Feb 18, 2025
Mar 17, 2021
Apr 23, 2021
May 21, 2021
Feb 16, 2021
Feb 18, 2025

Repository files navigation

File Manager Component(s) for React

Tests

Screenshot

This is a monorepo with multiple packages:

  • @codefreak/react-file-manager contains some generic code for D&D and selection handling. You will need some additional code to make it render something.
  • @codefreak/antd-file-manager contains an implementation based on AntD's <Table/> component. Check out how we use it in codefreak

Features

  • Move items around via drag&drop
  • Drop native files onto directories ("uploading")
  • Batch-move via selection (AntD specific)
  • Renaming and deleting items (AntD specific)

Installation

npm install -S @codefreak/antd-file-manager
// or if you are using yarn
yarn add @codefreak/antd-file-manager

Development

git clone https://github.com/codefreak/react-file-manager.git
cd react-file-manager
yarn install
yarn start

This should bring up Storybook in your browser with some basic examples.

Publish a new release

This is only possible if you have access to our @codefreak npm organisation.

yarn run lerna publish

License

The source code for all packages in ./packages is licensed under the MIT license, which you can find in the LICENSE file.