ant-design-vue/components/radio/index.js

20 lines
322 B
JavaScript
Raw Normal View History

2018-03-14 14:00:43 +00:00
import Radio from './Radio'
import Group from './Group'
2017-10-27 06:04:48 +00:00
2018-03-14 14:00:43 +00:00
const Button = {
2017-10-27 06:56:23 +00:00
extends: Radio,
2018-04-08 13:17:20 +00:00
name: 'ARadioButton',
2017-10-27 06:56:23 +00:00
props: {
...Radio.props,
prefixCls: {
default: 'ant-radio-button',
type: String,
},
},
}
2018-03-14 14:00:43 +00:00
Radio.Group = Group
Radio.Button = Button
export { Button, Group }
2017-10-27 06:04:48 +00:00
export default Radio