"use strict";
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
    if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
    return cooked;
};
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = require("@storybook/react");
var React = __importStar(require("react"));
var styled_components_1 = __importDefault(require("styled-components"));
var Table_1 = require("./Table");
var Tr_1 = require("./Tr");
var TableHeader_1 = require("./TableHeader");
var TableCell_1 = require("./TableCell");
var StyledDiv = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  width: 600px;\n"], ["\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  width: 600px;\n"])));
var Container = function (_a) {
    var children = _a.children;
    return React.createElement(StyledDiv, null, children);
};
react_1.storiesOf("Pattern Library / Table", module).add("Default", function () {
    return (React.createElement(Container, null,
        React.createElement(Table_1.Table, { width: "100%" },
            React.createElement(Tr_1.Tr, null,
                React.createElement(TableHeader_1.Th, null, "Default Header"),
                React.createElement(TableHeader_1.Th, { align: "right" }, "Right aligned"),
                React.createElement(TableHeader_1.Th, { accent: true, colSpan: 2 }, "Accent Col spanned header")),
            React.createElement(Tr_1.Tr, null,
                React.createElement(TableCell_1.Td, null, "Default cell"),
                React.createElement(TableCell_1.Td, { align: "right" }, "Default cell"),
                React.createElement(TableCell_1.Td, { accent: true }, "Pasta"),
                React.createElement(TableCell_1.Td, { accent: true }, "Pho")),
            React.createElement(Tr_1.Tr, null,
                React.createElement(TableCell_1.Td, null, "Pizza is delicious"),
                React.createElement(TableCell_1.Td, { align: "right" }, "Ramen is tasty too"),
                React.createElement(TableCell_1.Td, { accent: true }, "Pasta"),
                React.createElement(TableCell_1.Td, { accent: true }, "Pho")))));
});
var templateObject_1;
//# sourceMappingURL=Table.stories.js.map