import * as tslib_1 from "tslib";
import * as React from 'react';
import { TextField, MaskedTextField } from 'office-ui-fabric-react/lib/TextField';
import { Stack } from 'office-ui-fabric-react/lib/Stack';
export var TextFieldBasicExample = function () {
    // TextFields don't have to be inside Stacks, we're just using Stacks for layout
    var columnProps = {
        tokens: { childrenGap: 15 },
        styles: { root: { width: 300 } }
    };
    return (React.createElement(Stack, { horizontal: true, tokens: { childrenGap: 50 }, styles: { root: { width: 650 } } },
        React.createElement(Stack, tslib_1.__assign({}, columnProps),
            React.createElement(TextField, { label: "Standard" }),
            React.createElement(TextField, { label: "Disabled", disabled: true, defaultValue: "I am disabled" }),
            React.createElement(TextField, { label: "Read-only", readOnly: true, defaultValue: "I am read-only" }),
            React.createElement(TextField, { label: "Required ", required: true }),
            React.createElement(TextField, { ariaLabel: "Required without visible label", required: true }),
            React.createElement(TextField, { label: "With error message", errorMessage: "Error message" })),
        React.createElement(Stack, tslib_1.__assign({}, columnProps),
            React.createElement(MaskedTextField, { label: "With input mask", mask: "m\\ask: (999) 999 - 9999" }),
            React.createElement(TextField, { label: "With an icon", iconProps: { iconName: 'Calendar' } }),
            React.createElement(TextField, { label: "With placeholder", placeholder: "Please enter text here" }),
            React.createElement(TextField, { label: "Disabled with placeholder", disabled: true, placeholder: "I am disabled" }))));
};
//# sourceMappingURL=TextField.Basic.Example.js.map