UNPKG

react-checker-maker

Version:

React checker maker is a lightweight package that can be used to manage privileges in [React Js](https://reactjs.org). This package utilizes [React Router Dom](https://reactrouter.com) and allows for the addition of specific privileges to routes and eleme

10 lines (9 loc) 274 B
import { FC } from 'react'; import { IPrivilege } from 'src/contracts'; declare const PrivilegeContent: FC<{ privileges: IPrivilege[]; allowedPrivileges: number[]; handleGroupChange: () => void; handleChange: () => void; }>; export default PrivilegeContent;