"use strict";
var __assign = (this && this.__assign) || Object.assign || function(t) {
    for (var s, i = 1, n = arguments.length; i < n; i++) {
        s = arguments[i];
        for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
            t[p] = s[p];
    }
    return t;
};
exports.__esModule = true;
var React = require("react");
var react_1 = require("@storybook/react");
var _1 = require(".");
var config = {
    labeling: {
        prefix: 'US$',
        showValues: false
    }
};
var data = [
    {
        name: 'Montenegro',
        value: 66823169.184752956,
        color: '#0071b1'
    },
    {
        name: 'Uzbekistan',
        value: 234453969.7894683,
        color: '#5da3d9'
    },
    {
        name: 'Iraq',
        value: 2205781657.423498,
        color: '#0c457b'
    },
    {
        name: 'Albania',
        value: 360714017.52067727,
        color: '#0071b1'
    },
    {
        name: 'Congo',
        value: 1481557576.3263793,
        color: '#bc2629'
    },
    {
        name: 'South Asia, regional',
        value: 94202212.49565199,
        color: '#5da3d9'
    },
    {
        name: 'Venezuela',
        value: 48547250.54668666,
        color: '#7b3b89'
    }
];
var props = { config: config, data: data, height: '200px' };
react_1.storiesOf('Treemap', module).add('Treemap', function () {
    return (React.createElement("div", { style: { width: '50%', padding: '50px' } },
        React.createElement(_1["default"], __assign({}, props))));
});
