design-system-simplefi
Version:
Design System for SimpleFi Applications
33 lines • 850 B
JavaScript
import React from 'react';
import { Card } from '../../Card';
import PieChart from './PieChart';
export default {
title: 'components/Charts/PieChart',
component: PieChart,
};
var data = [
{
key: 'snx',
name: 'SNX',
value: 45,
color: 'deepBlue',
opacity: 1,
},
{
key: 'uni',
name: 'UNI',
value: 85,
color: 'neonGreen',
opacity: 1,
},
{
key: 'apple',
name: 'APPLE',
value: 150,
color: 'lightPurple',
opacity: 1,
},
];
export var PieChartStandard = function () { return (React.createElement(Card, { alignItems: "center", borderRadius: "md", height: "400px", justifyContent: "center", width: "100%" },
React.createElement(PieChart, { data: data }))); };
//# sourceMappingURL=PieChart.stories.js.map