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!

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.5.04latest

Version History

VersionDownloads (Last 7 Days)Published
1.5.04
1.4.00
1.3.40
1.3.30
1.3.20
1.3.10
1.3.00

Package Sidebar

Install

npm i mongoose-restapi-ui-component

Weekly Downloads

6

Version

1.5.0

License

MIT

Unpacked Size

232 kB

Total Files

76

Last publish

Collaborators

  • hector7