vonder-user-access
v2.0.4
Published
vonder user access component
Downloads
27
Readme
vonder-user-access
Must Use Node 12.x.x or 14.x.x Version and Use NPM !!!!
vonder user access component
Install
npm install --save vonder-user-access
Usage
import React, { Component } from 'react'
import { VonderUserAccess } from 'vonder-user-access'
import 'vonder-user-access/dist/index.css'
// type={["all", "userGroup","user","group"]}
// orgId:string
// host:string
// onChange:Fucntion
// defaultData:{
// {
// type: "all" | "userGroup" | "user" | "group",
// value: {
// users: ["_id"],
// groups: ["_id"],
// }
// }
}
// config={{
// selectableNumber: number,
// dataPageLimit: number,
// selectedPageLimit: number,
// dafu: "all" | "userGroup" | "user" | "group"
// }}
class Example extends Component {
render() {
return <VonderUserAccess />
}
}
License
MIT © patisroiceza