Skip to content

Commit

Permalink
chore: add jsdoc annotation for prepareSliderInnerState
Browse files Browse the repository at this point in the history
  • Loading branch information
Arucard89 committed Jun 11, 2024
1 parent 21fd175 commit 143584f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/Slider/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 143584f

Please sign in to comment.