mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-23 23:18:36 +08:00
14 lines
304 B
TypeScript
14 lines
304 B
TypeScript
|
import React from 'react';
|
||
|
import { Radio } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Radio.Group name="radiogroup" defaultValue={1}>
|
||
|
<Radio value={1}>A</Radio>
|
||
|
<Radio value={2}>B</Radio>
|
||
|
<Radio value={3}>C</Radio>
|
||
|
<Radio value={4}>D</Radio>
|
||
|
</Radio.Group>
|
||
|
);
|
||
|
|
||
|
export default App;
|