ngdox-ui-storage
v1.6.0
Published
Create component storage for services
Downloads
6
Readme
ngdox-storage
UI storage for services of NGSC company
Install
npm install --save ngdox-storage
Usage
import "ngdox-ui-storage/src/scss/Storage.scss"
import { StorageComponent } from 'ngdox-storage'
const Example = ()=> {
//Your Folders: get from storage service
//API: method: GET, url: storage/folder/root-by-group-id/${payload.groupId}, params : {application :payload.application}
const folders = [
{ id:"8aaa8196828afe0501828aff1aab0002", label:"Dự án" },
{ id:"8aaa8199828b323701828bbac27e0005", label:"Nhóm làm việc" },
]
return <StorageComponent ListFolder={folders}
application="storage-service"
/>
}
License
MIT © quanghoath