The component library for OpenObject & OpenERP objects based on ant-design and built with TypeScript.
Install via git:
npm i git+ssh://github.com/gisce/react-ooui.git#webpack_lib
Import library components:
import { Button, Char } from "react-ooui";
And then you can use it:
const getOouiComponents = () => {
return (
<>
<Char id="test" placeholder="Enter a task" />
<Button type="dashed">Button</Button>
</>
);
};
You have an example app inside this repo. In order to run it you should follow these steps:
cd example
npm install
npm start
You must run:
npm install
npm run build
And then you will have the bundled library inside dist/
You can browse our Storybook running:
npm install
npm run storybook