File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 "now-build" : " npm run docs:build"
4141 },
4242 "dependencies" : {
43- "@rc-component/util" : " ^1.2 .1" ,
43+ "@rc-component/util" : " ^1.11 .1" ,
4444 "clsx" : " ^2.1.1"
4545 },
4646 "devDependencies" : {
47- "@rc-component/father-plugin" : " ^2.0.4 " ,
47+ "@rc-component/father-plugin" : " ^2.2.0 " ,
4848 "@rc-component/np" : " ^1.0.4" ,
4949 "@testing-library/react" : " ^13.0.0" ,
5050 "@types/jest" : " ^29.4.0" ,
Original file line number Diff line number Diff line change 11import * as React from 'react' ;
22import { clsx } from 'clsx' ;
3+ import { useId } from '@rc-component/util' ;
34import { defaultProps , useTransitionDuration } from '../common' ;
45import type { ProgressProps } from '../interface' ;
5- import useId from '@rc-component/util/lib/hooks/useId' ;
66import PtgCircle from './PtgCircle' ;
77import { VIEW_BOX_SIZE , getCircleStyle } from './util' ;
88import getIndeterminateCircle from '../utils/getIndeterminateCircle' ;
Original file line number Diff line number Diff line change 11import * as React from 'react' ;
22import { clsx } from 'clsx' ;
3+ import { useId } from '@rc-component/util' ;
34import { useTransitionDuration , defaultProps } from './common' ;
45import type { ProgressProps } from './interface' ;
56import getIndeterminateLine from './utils/getIndeterminateLine' ;
6- import useId from '@rc-component/util/lib/hooks/useId' ;
77
88const Line : React . FC < ProgressProps > = ( props ) => {
99 const {
You can’t perform that action at this time.
0 commit comments