Skip to content

Commit 0186dd5

Browse files
committed
chore: using relative paths inside components
1 parent e55e1dd commit 0186dd5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/color-picker/ColorPicker.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import React, { FC, TouchEvent, useCallback, useEffect, useRef, useState } from 'react';
2-
import { ColorPickerChangeTrigger } from 'tdesign-mobile-react';
32
import classNames from 'classnames';
43
import { usePrefixClass } from '../hooks/useClass';
54
import { Color, Coordinate, getColorObject } from '../_common/js/color-picker';
@@ -12,7 +11,7 @@ import {
1211
import { PanelRectType } from './types';
1312
import { genSwatchList, getCoordinate, getFormatList } from './helper/format';
1413
import type { StyledProps } from '../common';
15-
import type { TdColorPickerProps } from './type';
14+
import type { TdColorPickerProps, ColorPickerChangeTrigger } from './type';
1615
import { colorPickerDefaultProps } from './defaultProps';
1716
import useDefaultProps from '../hooks/useDefaultProps';
1817
import { ALPHA_MAX, HUE_MAX } from './constants';

0 commit comments

Comments
 (0)