@radix-ui/themes
Version:
[](https://radix-ui.com/themes)
13 lines (12 loc) • 722 B
TypeScript
import * as React from 'react';
import * as ProgressPrimitive from '@radix-ui/react-progress';
import { progressPropDefs } from './progress.props.js';
import type { ComponentPropsWithout, RemovedProps } from '../helpers/index.js';
import type { GetPropDefTypes, MarginProps } from '../props/index.js';
type ProgressOwnProps = GetPropDefTypes<typeof progressPropDefs>;
interface ProgressProps extends ComponentPropsWithout<typeof ProgressPrimitive.Root, RemovedProps | 'children'>, MarginProps, ProgressOwnProps {
duration?: `${number}s` | `${number}ms`;
}
declare const Progress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<HTMLDivElement>>;
export { Progress };
export type { ProgressProps };