diff --git a/packages/ui/src/molecules/PriceRange/PriceRange.tsx b/packages/ui/src/molecules/PriceRange/PriceRange.tsx index 07cbec5030..0c541ae7c7 100644 --- a/packages/ui/src/molecules/PriceRange/PriceRange.tsx +++ b/packages/ui/src/molecules/PriceRange/PriceRange.tsx @@ -64,30 +64,38 @@ const PriceRange = forwardRef( onEnd={onEnd} aria-label={ariaLabel} onChange={(value) => onChange?.(value)} - minValueLabelComponent={(minValue) => ( - - )} - maxValueLabelComponent={(maxValue) => ( - - )} + minValueLabelComponent={(minValue) => { + const minPercent = (minValue / max.absolute) * 100 + + return ( + + ) + }} + maxValueLabelComponent={(maxValue) => { + const maxPercent = (maxValue / max.absolute) * 100 + + return ( + + ) + }} /> )