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

2.2.2 • Public • Published

@stbui/prophet-core

起步

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-core

Weekly Downloads

0

Version

2.2.2

License

ISC

Unpacked Size

1.1 MB

Total Files

949

Last publish

Collaborators

  • ishawnwang