@react-md/form
Version:
This package is for creating all the different form input types.
22 lines (21 loc) • 642 B
TypeScript
import type { ReactElement } from "react";
import type { TooltipProps } from "@react-md/tooltip";
import type { ThumbIndex } from "./types";
/**
* @remarks \@since 2.5.0
* @internal
*/
export interface SliderValueProps extends TooltipProps {
index: ThumbIndex;
animate: boolean;
discrete: boolean;
vertical: boolean;
}
/**
* This component creates the "discrete" slider thumb value by rendering a
* tooltip when needed.
*
* @remarks \@since 2.5.0
* @internal
*/
export declare function SliderValue({ index, animate, discrete, vertical, children, className, portal, ...props }: SliderValueProps): ReactElement | null;