npm.io
0.1.13 • Published 3 years ago

@worktools/jimo-basics

Licence
MIT
Version
0.1.13
Deps
1
Size
94 kB
Vulns
0
Weekly
0
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)

Jimo Basics

Very basic UI components.

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

Usage

yarn add @worktools/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