mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
fix(SliderTooltipProps): extends from SliderTooltipProps (#44656)
This commit is contained in:
parent
abba072bd5
commit
fc2b4af8cf
@ -7,7 +7,7 @@ import type { SliderRef } from 'rc-slider/lib/Slider';
|
||||
import { devUseWarning } from '../_util/warning';
|
||||
import { ConfigContext } from '../config-provider';
|
||||
import DisabledContext from '../config-provider/DisabledContext';
|
||||
import type { TooltipPlacement } from '../tooltip';
|
||||
import type { AbstractTooltipProps, TooltipPlacement } from '../tooltip';
|
||||
import SliderTooltip from './SliderTooltip';
|
||||
import useStyle from './style';
|
||||
|
||||
@ -28,7 +28,7 @@ export type HandleGeneratorFn = (config: {
|
||||
export type Formatter = (value?: number) => React.ReactNode;
|
||||
const defaultFormatter: Formatter = (val) => (typeof val === 'number' ? val.toString() : '');
|
||||
|
||||
export interface SliderTooltipProps {
|
||||
export interface SliderTooltipProps extends AbstractTooltipProps {
|
||||
prefixCls?: string;
|
||||
open?: boolean;
|
||||
placement?: TooltipPlacement;
|
||||
|
Loading…
Reference in New Issue
Block a user