"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HorizontalStackVerticalAlignExample = void 0;
var React = require("react");
var react_1 = require("@fluentui/react");
// Styles definition
var stackStyles = {
    root: {
        background: react_1.DefaultPalette.themeTertiary,
        height: 100,
    },
};
var itemStyles = {
    alignItems: 'center',
    background: react_1.DefaultPalette.themePrimary,
    color: react_1.DefaultPalette.white,
    display: 'flex',
    height: 50,
    justifyContent: 'center',
    width: 50,
};
// Tokens definition
var stackTokens = { childrenGap: 5 };
var HorizontalStackVerticalAlignExample = function () {
    return (React.createElement(react_1.Stack, { tokens: stackTokens },
        React.createElement("span", null, "Top-aligned"),
        React.createElement(react_1.Stack, { horizontal: true, verticalAlign: "start", styles: stackStyles },
            React.createElement("span", { style: itemStyles }, "1"),
            React.createElement("span", { style: itemStyles }, "2"),
            React.createElement("span", { style: itemStyles }, "3")),
        React.createElement("span", null, "Vertically centered"),
        React.createElement(react_1.Stack, { horizontal: true, verticalAlign: "center", styles: stackStyles },
            React.createElement("span", { style: itemStyles }, "1"),
            React.createElement("span", { style: itemStyles }, "2"),
            React.createElement("span", { style: itemStyles }, "3")),
        React.createElement("span", null, "Bottom-aligned"),
        React.createElement(react_1.Stack, { horizontal: true, verticalAlign: "end", styles: stackStyles },
            React.createElement("span", { style: itemStyles }, "1"),
            React.createElement("span", { style: itemStyles }, "2"),
            React.createElement("span", { style: itemStyles }, "3"))));
};
exports.HorizontalStackVerticalAlignExample = HorizontalStackVerticalAlignExample;
//# sourceMappingURL=Stack.Horizontal.VerticalAlign.Example.js.map