mongoose-restapi-ui-component
v1.5.0
Published
React admin panel handling mongoose-restapi-ui tree structure.
Downloads
95
Maintainers
Readme
React component for Mongoose API UI
Simplest admin usage! You can control safely your data with an admin panel.
Usage:
import Admin from 'mongoose-restapi-ui-component'
export default (props) => <Admin tree='your/path/to/tree' />
Posible props:
tree
: (string or tree) The tree path published by mongoose-restapi-uishowAppBar
: boolean, shows the appbarwidth
: any, width of admin panelheaders
: Custom headers (Example: {Authorization: 'Basic token'})theme
: Theme from @material-ui/core
Enjoy!