import { createBoard } from '@wixc3/react-board'; import { ResponsivePie } from '@nivo/pie'; import cover from './cover.png'; const data = [ { id: 'stylus', label: 'stylus', value: 455, color: 'hsl(4, 70%, 50%)', }, { id: 'css', label: 'css', value: 170, color: 'hsl(326, 70%, 50%)', }, { id: 'elixir', label: 'elixir', value: 68, color: 'hsl(145, 70%, 50%)', }, { id: 'rust', label: 'rust', value: 442, color: 'hsl(214, 70%, 50%)', }, { id: 'hack', label: 'hack', value: 191, color: 'hsl(89, 70%, 50%)', }, ]; export default createBoard({ name: 'Pie', Board: () => (
), cover, });