/**
 * title: "尺寸"
 * description: "通过设置size属性，设置组件尺寸。"
 */
import React from 'react';
import { Select } from '@alicloud/console-components';
var onChange = function (value) {
    console.log(value);
};
export var dataSource = [
    {
        value: '10001',
        label: '选项A',
    },
    {
        value: '10002',
        label: '选项B',
    },
];
var h4Style = {
    fontSize: '12px',
    marginTop: '24px',
};
export default (function () {
    return (React.createElement("div", { style: { display: 'flex', flexWrap: 'wrap', gap: '32px' } },
        React.createElement("div", null,
            React.createElement("h4", { style: h4Style }, "\u9ED8\u8BA432px"),
            React.createElement(Select, { placeholder: "\u8BF7\u9009\u62E9", onChange: onChange, size: "medium", dataSource: dataSource, style: { width: '280px' } })),
        React.createElement("div", null,
            React.createElement("h4", { style: h4Style }, "\u5927\u53F736px"),
            React.createElement(Select, { placeholder: "\u8BF7\u9009\u62E9", onChange: onChange, size: "large", dataSource: dataSource, style: { width: '280px' } })),
        React.createElement("div", null,
            React.createElement("h4", { style: h4Style }, "\u5C0F\u53F724px"),
            React.createElement(Select, { placeholder: "\u8BF7\u9009\u62E9", onChange: onChange, size: "small", dataSource: dataSource, style: { width: '280px' } }))));
});
