"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.VerticalStackGrowExample = void 0;
var React = require("react");
var Stack_1 = require("@fluentui/react/lib-commonjs/Stack");
var Styling_1 = require("@fluentui/react/lib-commonjs/Styling");
// Styles definition
var stackStyles = {
    root: {
        background: Styling_1.DefaultPalette.themeTertiary,
        height: 250,
    },
};
var stackItemStyles = {
    root: {
        alignItems: 'center',
        background: Styling_1.DefaultPalette.themePrimary,
        color: Styling_1.DefaultPalette.white,
        display: 'flex',
        justifyContent: 'center',
    },
};
// Tokens definition
var outerStackTokens = { childrenGap: 5 };
var innerStackTokens = {
    childrenGap: 5,
    padding: 10,
};
var VerticalStackGrowExample = function () {
    return (React.createElement(Stack_1.Stack, { tokens: outerStackTokens },
        React.createElement(Stack_1.Stack, { styles: stackStyles, tokens: innerStackTokens },
            React.createElement(Stack_1.Stack.Item, { grow: 3, styles: stackItemStyles }, "Grow is 3"),
            React.createElement(Stack_1.Stack.Item, { grow: 2, styles: stackItemStyles }, "Grow is 2"),
            React.createElement(Stack_1.Stack.Item, { grow: true, styles: stackItemStyles }, "Grow is 1"))));
};
exports.VerticalStackGrowExample = VerticalStackGrowExample;
//# sourceMappingURL=Stack.Vertical.Grow.Example.js.map