/meson-display

[Deprecating, old collection] Some small UI components

Primary LanguageTypeScript

Meson Display

A collection of components of displaying information.

Demo http://fe.jimu.io/meson-display/

Usage

yarn add @jimengio/meson-display
  • Grouped Timeline
import { GroupedTimeline } from "@jimengio/meson-display"

let timeEvents: ITimelineGroup[] = [
  {
    title: "2019-04-10(今天)",
    children: [
      { title: "14:46 生产入库", content: "仓库:原材料仓库  操作人:陈大力" },
      { title: "10:20 销售出库", content: "仓库:成品仓库" },
    ],
  },
  {
    title: "2019-04-09(星期二)",
    children: [
      { title: "14:46 生产入库", content: "仓库:原材料仓库" },
    ],
  },
];

<GroupedTimeline groups={timeEvents} />

Workflow

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

License

MIT