GrowShrinkValue

GrowShrinkValue designed to display a numeric value that can indicate growth or shrinkage.

Basic

Icon

CustomClass

API

GrowShrinkValue
PropDescriptionTypeDefault
showIconWhether to display up or down iconbooleantrue
prefixRender a prefix content before the valuestring | ReactNode-
suffixRender a suffix content next to the valuestring | ReactNode-
positiveIconAn icon or content to display when the value is positivestring | ReactNode'^'
negativeIconAn icon or content to display when the value is negativestring | ReactNode'v'
positiveClassCustom CSS class to apply when the value is positive.string-
negativeClassCustom CSS class to apply when the value is negative.string-
valueThe numeric value to be displayed.number0