// // Copyright 2023 DXOS.org // import React, { type ComponentPropsWithRef, forwardRef } from 'react'; import { useThemeContext } from '../../hooks'; import { type StatusStyleProps } from '../../theme'; import { type ThemedClassName } from '../../util'; type StatusProps = ThemedClassName< ComponentPropsWithRef<'span'> & StatusStyleProps & { progress?: number; } >; const Status = forwardRef( ({ classNames, children, progress = 0, indeterminate, variant, ...props }, forwardedRef) => { const { tx } = useThemeContext(); return ( {children} ); }, ); export { Status }; export type { StatusProps };