UNPKG

tdesign-mobile-vue

Version:
9 lines (8 loc) 433 B
import { Color } from '../_common/js/color-picker'; import type { TdColorPickerProps as ColorPickerProps } from './type'; export declare const getCoordinate: (e: TouchEvent, rect: DOMRect, isFixed?: boolean) => { x: number; y: number; }; export declare const getFormatList: (format: ColorPickerProps['format'], color: Color) => any[]; export declare const genSwatchList: (prop: ColorPickerProps['swatchColors']) => string[];