Components
Id
Prop | Type | Default |
---|---|---|
value | string | - |
truncate | number | undefined | - |
className | string | undefined | - |
Overview
For the <Id />
component to be used, the <TooltipProvider>
must be used at the root of the application or somewhere higher in the scope. This is to ensure that the tooltip is rendered correctly.
Truncate & Value
Id
should be used to display a unique identifier. The Id
value is passed into the value
prop. If the value needs to be truncated, a number should be passed to the truncate
prop.