UNPKG

react-garden

Version:

React + TypeScript + ThreeJS app using Material UI on NextJS, Apollo Client, GraphQL + WordPress REST APIs, for ThreeD web development.. a part of the threed.ai code family.

31 lines (28 loc) 548 B
// types interface Types { labels: string[] datasets: { label: string color: | "primary" | "secondary" | "info" | "success" | "warning" | "error" | "light" | "dark" data: number[] }[] } const horizontalBarChartData: Types = { labels: ["16-20", "21-25", "26-30", "31-36", "36-42", "42+"], datasets: [ { label: "Sales by age", color: "dark", data: [15, 20, 12, 60, 20, 15], }, ], } export default horizontalBarChartData