UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

22 lines 911 B
import React from 'react'; import { DefaultProps } from '../../theme'; import useStyles from './RingProgress.styles'; export declare type RingProgressStylesNames = keyof ReturnType<typeof useStyles>; export interface RingProgressProps extends DefaultProps<RingProgressStylesNames>, React.ComponentPropsWithoutRef<'div'> { /** Label displayed in the center of the ring */ label?: React.ReactNode; /** Ring thickness */ thickness?: number; /** Width and height of the progress ring in px */ size?: number; /** Ring sections */ sections: { value: number; color: string; }[]; } export declare function RingProgress({ className, style, label, sections, size, thickness, themeOverride, classNames, styles, ...others }: RingProgressProps): JSX.Element; export declare namespace RingProgress { var displayName: string; } //# sourceMappingURL=RingProgress.d.ts.map