import { Meta, Primary, Controls, Story } from '@storybook/addon-docs/blocks'; import * as DemoStories from './demo.stories';
This component is a flexible component that can render a currency value or a string using different custom color - It can also display a trend of the value (up or down) as well as render a line chart of multiple pieces of data.
Trend of a field over a reporting value - the values are provides as a comma-separated string
Display a currency or percentage value based on the trend (positive or negative)
Same as before but displayed using renderingMode='badge'
Display values with custom colors
Here is an example of using the trend display in a list view
and in a case view summary

