import type { ExtractPropTypes } from 'vue'
import type { ActionSheetAction as VanActionSheetAction } from 'vant'
import { makeArrayProp, type Looser } from '../utils'

export type ActionSheetAction = Looser<VanActionSheetAction>

export const horActionSheetProps = {
  actions: makeArrayProp<ActionSheetAction>(),
}

export type HorActionSheetProps = ExtractPropTypes<typeof horActionSheetProps>
