import { selectPlaceholder, selectMultiplePlaceholder } from "../_utils/defaultSchema"; export default [ { title: '单项选择器', screenshot: 'https://alifd.alicdn.com/fusion-cool/icons/icon-antd/select-1.png', schema: { title: '单项选择器', componentName: 'FormItemSelect', props: { allowClear: true, placeholder: selectPlaceholder, optionSourceType: 'default', optionFilterProp: 'label', styleType: "antd", showSearch: true, options: [ { label: 'A', value: 'A', }, { label: 'B', value: 'B', }, { label: 'C', value: 'C', }, ], }, }, }, { title: '多项选择器', screenshot: 'https://alifd.alicdn.com/fusion-cool/icons/icon-antd/select-1.png', schema: { title: '多项选择器', componentName: 'FormItemSelect', props: { allowClear: true, mode: 'multiple', showSearch: true, placeholder: selectMultiplePlaceholder, optionSourceType: 'default', optionFilterProp: 'label', styleType: "antd", options: [ { label: 'A', value: 'A', }, { label: 'B', value: 'B', }, { label: 'C', value: 'C', }, ], }, }, }, ];