Sha256: 70f3f3cd8f0ec126a0a05b8496bf3e1ac37a68309d57c0fabf4433300012f41c
Contents?: true
Size: 1 KB
Versions: 590
Compression:
Stored size: 1 KB
Contents
import React from "react"; import { GanttChart } from "playbook-ui"; const mockOptions = { title: { text: "Simple Gantt Chart", }, xAxis: [ { min: Date.UTC(2014, 10, 17), max: Date.UTC(2014, 10, 30), }, ], series: [ { name: "Project 1", data: [ { name: "Start prototype", start: Date.UTC(2014, 10, 18), end: Date.UTC(2014, 10, 25), }, { name: "Develop", start: Date.UTC(2014, 10, 20), end: Date.UTC(2014, 10, 25), }, { name: "Run acceptance tests", start: Date.UTC(2014, 10, 23), end: Date.UTC(2014, 10, 26), }, { name: "Test prototype", start: Date.UTC(2014, 10, 27), end: Date.UTC(2014, 10, 29), }, ], }, ], }; const GanttChartDefault = (props) => ( <div> <GanttChart customOptions={mockOptions} {...props} /> </div> ); export default GanttChartDefault;
Version data entries
590 entries across 590 versions & 2 rubygems