react-admin-loopback4-adapted
v1.0.17
Published
adaptation of react-admin with loopback4
Downloads
4
Maintainers
Readme
#Intro Loopback 4 provider for react-admin.
#Usage
npm i react-admin-lb4
import React, { Component } from 'react';
import { Admin, Resource, ListGuesser } from 'react-admin';
import lb4Provider from 'react-admin-lb4';
class MyComponent extends Component {
render() {
return (
<Admin dataProvider={lb4Provider('http://localhost:3000')}>
<Resource name="resource" list={ListGuesser} />
</Admin>
);
}