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!