Files
v10/dist/dev/ui/time/time-value.d.ts

22 lines
767 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { UIComponentProps } from "../../utils/types.js";
import { TimeCore } from "@videojs/core";
//#region src/ui/time/time-value.d.ts
interface ValueProps extends Omit<UIComponentProps<'time', TimeCore.State>, 'children'>, TimeCore.Props {}
/**
* Displays a formatted time value (current, duration, or remaining).
*
* @example
* ```tsx
* <Time.Value />
* <Time.Value type="duration" />
* <Time.Value type="remaining" negativeSign="" />
* ```
*/
declare const Value: import("react").ForwardRefExoticComponent<Omit<ValueProps, "ref"> & import("react").RefAttributes<HTMLTimeElement>>;
declare namespace Value {
type Props = ValueProps;
type State = TimeCore.State;
}
//#endregion
export { Value, ValueProps };
//# sourceMappingURL=time-value.d.ts.map