import { withInstall, withNoopInstall } from '@kankan-components/utils'
import Button from './src/button.vue'
import ButtonGroup from './src/button-group.vue'

export const KkButton = withInstall(Button, {
  ButtonGroup,
})
export const KkButtonGroup = withNoopInstall(ButtonGroup)
export default KkButton

export * from './src/button'
export type { ButtonInstance, ButtonGroupInstance } from './src/instance'
