@kaizer433/react-filemanager
v1.0.4
Published
React FileManager
Downloads
1
Readme
react-filemanager
Made with create-react-library
Install
npm i @kaizer433/react-filemanager
Usage
import React, { Component } from 'react'
import { ReactFileManager } from '@kaizer433/react-filemanager'
import '@kaizer433/react-filemanager/dist/index.css'
import {
DeleteFileFolder,
GetLists,
RenameFileFolder,
CreateFileFolder
} from './api'
class Example extends Component {
render() {
return (
<ReactFileManager
visible={_show}
onClose={() => setShow(false)}
getList={GetLists}
deletePath={DeleteFileFolder}
renamePath={RenameFileFolder}
create={CreateFileFolder}
/>
)
}
}
License
MIT © kaissaroj