From 143584fa5100fdf50b41a55846ab5e66581c9aec Mon Sep 17 00:00:00 2001 From: Kirill Revenkov Date: Tue, 11 Jun 2024 10:45:54 +0300 Subject: [PATCH] chore: add jsdoc annotation for prepareSliderInnerState --- src/components/Slider/utils.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/Slider/utils.ts b/src/components/Slider/utils.ts index 7a6be6dc3b..b21ca33bfe 100644 --- a/src/components/Slider/utils.ts +++ b/src/components/Slider/utils.ts @@ -88,6 +88,10 @@ function createMarks(points: number[]): RcSliderProps['marks'] { return marks; } +/** + * Calculates the basic properties of the Slider component depending on the passed parameters + * @returns {SliderInnerState} Properties to pass to the Slider + */ export function prepareSliderInnerState({ max = 100, min = 0,