mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-21 18:56:03 +08:00
22 lines
504 B
TypeScript
22 lines
504 B
TypeScript
import React from 'react';
|
|
import { Select } from 'antd';
|
|
|
|
import SelectSemanticTemplate from '../../../.dumi/components/SelectSemanticTemplate';
|
|
|
|
const App: React.FC = () => {
|
|
return (
|
|
<SelectSemanticTemplate
|
|
component={Select}
|
|
componentName="Select"
|
|
style={{ width: 200 }}
|
|
defaultValue="aojunhao123"
|
|
options={[
|
|
{ value: 'aojunhao123', label: 'aojunhao123' },
|
|
{ value: 'thinkasany', label: 'thinkasany' },
|
|
]}
|
|
/>
|
|
);
|
|
};
|
|
|
|
export default App;
|