| 1 |
import { Label, LabelColor, LabelGroup } from '@patternfly/react-core'; |
| 2 |
import RhUiInformationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-information-fill-icon'; |
| 3 |
|
| 4 |
export const LabelGroupOverflow: React.FunctionComponent = () => ( |
| 5 |
<LabelGroup> |
| 6 |
<Label icon={<RhUiInformationFillIcon />}>Label 1</Label> |
| 7 |
<Label icon={<RhUiInformationFillIcon />} color={LabelColor.blue}> |
| 8 |
Label 2 |
| 9 |
</Label> |
| 10 |
<Label icon={<RhUiInformationFillIcon />} color={LabelColor.green}> |
| 11 |
Label 3 |
| 12 |
</Label> |
| 13 |
<Label icon={<RhUiInformationFillIcon />} color={LabelColor.orange}> |
| 14 |
Label 4 |
| 15 |
</Label> |
| 16 |
<Label icon={<RhUiInformationFillIcon />} color={LabelColor.red}> |
| 17 |
Label 5 |
| 18 |
</Label> |
| 19 |
<Label icon={<RhUiInformationFillIcon />} color={LabelColor.purple}> |
| 20 |
Label 6 |
| 21 |
</Label> |
| 22 |
</LabelGroup> |
| 23 |
); |