@td-design/react-native
Version:
react-native UI组件库
11 lines • 476 B
TypeScript
/// <reference types="react-native-reanimated" />
import { ProgressProps } from './type';
export default function useCircleProgress({ width, strokeWidth, value, unit, }: Pick<ProgressProps, 'width' | 'strokeWidth' | 'value' | 'unit'>): {
radius: number;
textLabel: import("react-native-reanimated").SharedValue<string>;
circumference: number;
animatedProps: Partial<{
strokeDashoffset: number;
}>;
};
//# sourceMappingURL=useCircleProgress.d.ts.map