| id | Clipboard copy | ||
|---|---|---|---|
| section | components | ||
| cssPrefix | pf-v6-c-clipboard-copy | ||
| propComponents |
|
||
| ouia | true |
import { Fragment, useEffect, useState } from 'react'; import PlayIcon from '@patternfly/react-icons/dist/esm/icons/play-icon';
You can control the truncation for an inline-compact variant by passing the truncation property. The following example shows the different ways to use the property: passing a boolean will apply default truncation, while passing an object of TruncateProps offers more fine-tuned control over the truncation behavior.