Skip to content

gisce/react-ooui

Repository files navigation

react-ooui

The component library for OpenObject & OpenERP objects based on ant-design and built with TypeScript.

🚀 Usage

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

👷🏽‍♂️ Building

You must run:

  • npm install
  • npm run build

And then you will have the bundled library inside dist/

🎨 Storybook

You can browse our Storybook running:

  • npm install
  • npm run storybook