"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var React = require("react");
var react_1 = require("@storybook/react");
var _1 = require("../");
var data = [
    {
        value: 8,
        name: 'Vanilla',
        color: 'beige'
    },
    {
        value: 9,
        name: 'Chocolate',
        color: 'brown'
    },
    {
        value: 7,
        name: 'Strawberry',
        color: 'pink'
    }
];
var singleSegment = [
    {
        value: 0,
        name: 'Vanilla',
        color: 'beige'
    },
    {
        value: 0,
        name: 'Chocolate',
        color: 'brown'
    },
    {
        value: 2,
        name: 'Strawberry',
        color: 'pink'
    }
];
var zeroCountPlaceholder = 'red';
var zeroCount = [
    {
        value: 0,
        name: 'Chocolate',
        color: 'brown'
    },
    {
        value: 0,
        name: 'Strawberry',
        color: 'pink'
    }
];
react_1.storiesOf('Gauge', module)
    .addWithInfo('default', function () {
    return React.createElement(_1.Gauge, { m: 30, title: 'Ice Cream', data: data });
})
    .addWithInfo('single segment', function () {
    return React.createElement(_1.Gauge, { m: 30, title: 'Ice Cream', data: singleSegment });
})
    .addWithInfo('zero count', function () {
    return (React.createElement(_1.Gauge, { m: 30, title: 'Ice Cream', data: zeroCount, placeholderColor: zeroCountPlaceholder }));
});
