"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * title: "段落输入框"
 * description: "为 `Input` 设置 `disabled` 状态,通过state添加错误状态。"
 */
var react_1 = __importDefault(require("react"));
var console_components_1 = require("@alicloud/console-components");
var titleStyle = {
    margin: "4px 0 4px",
    color: "#1D1D1F",
    height: 20,
};
var contentStyle = {
    display: "grid",
    gridTemplateColumns: "repeat(2, 1fr)",
    gap: 36,
};
exports.default = (function () {
    return (react_1.default.createElement("div", { style: contentStyle },
        react_1.default.createElement("div", null,
            react_1.default.createElement("div", { style: titleStyle }, "\u9ED8\u8BA4"),
            react_1.default.createElement(console_components_1.Input, { placeholder: "\u8BF7\u8F93\u5165\u5185\u5BB9", size: "medium" })),
        react_1.default.createElement("div", null,
            react_1.default.createElement("div", { style: titleStyle }, "\u8F93\u5165\u5B8C\u6210"),
            react_1.default.createElement(console_components_1.Input, { defaultValue: "\u5DF2\u8F93\u5165\u6587\u672C", placeholder: "\u8BF7\u8F93\u5165\u5185\u5BB9", size: "medium" })),
        react_1.default.createElement("div", null,
            react_1.default.createElement("div", { style: titleStyle }, "\u7981\u7528"),
            react_1.default.createElement(console_components_1.Input, { placeholder: "\u8BF7\u8F93\u5165\u5185\u5BB9", size: "medium", disabled: true })),
        react_1.default.createElement("div", null,
            react_1.default.createElement("div", { style: titleStyle }, "\u8F93\u5165\u9519\u8BEF\u6216\u672A\u586B"),
            react_1.default.createElement(console_components_1.Input, { placeholder: "\u8BF7\u8F93\u5165\u5185\u5BB9", size: "medium", defaultValue: "\u5DF2\u8F93\u5165\u6587\u672C", state: "error" }))));
});
