From 08ca03255095414330d7b69246f4108245e3f674 Mon Sep 17 00:00:00 2001 From: Lim Shang Yi Date: Fri, 2 Oct 2020 22:16:18 +0800 Subject: [PATCH] fix: missing autoFocus prop in Slider. Fixes #26982 (#26995) --- components/slider/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/slider/index.tsx b/components/slider/index.tsx index 57ad43d804..1c06ce49c8 100644 --- a/components/slider/index.tsx +++ b/components/slider/index.tsx @@ -47,6 +47,7 @@ export interface SliderBaseProps { tooltipVisible?: boolean; tooltipPlacement?: TooltipPlacement; getTooltipPopupContainer?: (triggerNode: HTMLElement) => HTMLElement; + autoFocus?: boolean; } export interface SliderSingleProps extends SliderBaseProps {