Files
element-plus/packages/components/button/src/button-group.ts
Xc b3553a1cae docs(components): [button] (#10594)
* docs(components): [button]

* docs(components): [button]
2022-11-14 10:46:38 +08:00

16 lines
413 B
TypeScript

import { buttonProps } from './button'
import type { ExtractPropTypes } from 'vue'
export const buttonGroupProps = {
/**
* @description control the size of buttons in this button-group
*/
size: buttonProps.size,
/**
* @description control the type of buttons in this button-group
*/
type: buttonProps.type,
} as const
export type ButtonGroupProps = ExtractPropTypes<typeof buttonGroupProps>