prophet-core
TypeScript icon, indicating that this package has built-in type declarations

0.4.5 • Public • Published

prophet-core

起步

npm install prophet-core
import { Prophet, Resource } from 'prophet-core';
import dataJsonServer from 'prophet-data-json-server';
 
<Prophet dataProvider={dataJsonServer('http://127.0.0.1:3001')}>
    <Resource
        name="users"
        list={props => <div>list</div>}
        edit={props => <div>edit</div>}
        create={props => <div>create</div>}
        show={props => <div>show</div>}
    />
</Prophet>;

Readme

Keywords

none

Package Sidebar

Install

npm i prophet-core

Weekly Downloads

0

Version

0.4.5

License

ISC

Unpacked Size

494 kB

Total Files

537

Last publish

Collaborators

  • w431106