mongoose-restapi-ui-component
TypeScript icon, indicating that this package has built-in type declarations

1.5.0 • Public • Published

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-ui
  • showAppBar: boolean, shows the appbar
  • width: any, width of admin panel
  • headers: Custom headers (Example: {Authorization: 'Basic token'})
  • theme: Theme from @material-ui/core

Enjoy!

/mongoose-restapi-ui-component/

    Package Sidebar

    Install

    npm i mongoose-restapi-ui-component

    Weekly Downloads

    9

    Version

    1.5.0

    License

    MIT

    Unpacked Size

    232 kB

    Total Files

    76

    Last publish

    Collaborators

    • hector7