react-admin-lb4
v1.0.3
Published
Loopback 4 data provider for react-admin
Downloads
38
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>
);
}