UNPKG

vuux

Version:

Vue3 Nuxt3 Nuxt4 组件库

16 lines (15 loc) 455 B
import { StyleValue } from 'vue'; import { Props } from '../types'; /** * hook * * @param props 组件属性 */ export declare const useMagicNumber: (props: Props) => { digits: number[]; valueArr: import('vue').ComputedRef<string[]>; styles: import('vue').ComputedRef<StyleValue>; numStyle: import('vue').ComputedRef<StyleValue>; isSeparator: (item: string) => item is "." | ","; getItemStyle: (item: string) => StyleValue; };