/**
 * title: "带多选标签形态交互"
 * description: "设置mode值为multiple，选择器为带多选标签形态。"
 */
import React from 'react';
import { Select } from '@alicloud/console-components';
var onChange = function (value) {
    console.log(value);
};
export var dataSource = [
    {
        value: '1',
        label: '默认项',
    },
    {
        value: '2',
        label: '聚焦项',
    },
    {
        value: '3',
        label: '选中项',
    },
    {
        value: '4',
        label: '选中项',
    },
    {
        value: '5',
        label: '默认项',
    },
    {
        value: '6',
        label: '失效项',
        disabled: true,
    },
];
var h4Style = {
    fontSize: '12px',
    marginTop: '24px',
};
export default (function () {
    return (React.createElement("div", { style: { display: 'flex', flexWrap: 'wrap' } },
        React.createElement("div", { style: { marginRight: '78px' } },
            React.createElement("h4", { style: h4Style }, "\u9ED8\u8BA4"),
            React.createElement(Select, { placeholder: "\u8BF7\u9009\u62E9", onChange: onChange, defaultValue: ['3', '4'], dataSource: dataSource, style: {
                    width: 280,
                }, mode: "multiple" })),
        React.createElement("div", null,
            React.createElement("h4", { style: h4Style }, "\u7981\u7528"),
            React.createElement(Select, { placeholder: "\u8BF7\u9009\u62E9", onChange: onChange, defaultValue: ['3', '4'], dataSource: dataSource, style: {
                    width: 280,
                }, mode: "multiple", disabled: true }))));
});
