@daysnap/horn-ui
Version:
hron ui
12 lines (8 loc) • 397 B
text/typescript
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>