UNPKG

@meleon/uni-ui

Version:

A uniapp components library written in vue3 and typescript

15 lines (14 loc) 545 B
import { type ComputedRef } from 'vue'; import type { TimePickerProps } from '@meleon/uni-ui/lib'; import type { TimeList } from '@meleon/uni-ui/lib/ml-time-picker'; interface TimeListProps extends Pick<TimePickerProps, 'step'> { selectedHour: number | undefined; selectedMinute: number | undefined; selectedSecond: number | undefined; } export default function useTimeList(props: TimeListProps): { hours: ComputedRef<TimeList>; minutes: ComputedRef<TimeList>; seconds: ComputedRef<TimeList>; }; export {};