Skip to content

jimengio/jimo-basics

Repository files navigation

Jimo Basics

Very basic UI components.

http://fe.jimu.io/jimo-basics/

Usage

yarn add @jimengio/jimo-basics

Button:

<JimoButton prepend={`+`} text={"DEMO"} fillColor onClick={() => {}} />

Tabs:

let items: IJimoTabItem[] = [{ title: "A", value: "a" }, { title: "This is b", value: "b" }];

<JimoTabs
  items={items}
  value={tab}
  onClick={(value) => {
    setTab(value.value);
  }}
/>;

Todo page component:

<TodoFeature title="A not finished feature" description={"Some description"} />

Workflow

https://github.com/jimengio/ts-workflow

License

MIT