@ishawnwang/prophet
TypeScript icon, indicating that this package has built-in type declarations

2.2.3 • Public • Published

@stbui/prophet

起步

npm install @stbui/prophet@latest @stbui/prophet-data-json-server@latest
import { Prophet, Resource } from '@stbui/prophet';
import dataJsonServer from '@stbui/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 @ishawnwang/prophet

Weekly Downloads

0

Version

2.2.3

License

ISC

Unpacked Size

18.2 kB

Total Files

19

Last publish

Collaborators

  • ishawnwang