| 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 LabelGroupBasic: 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 |
</LabelGroup> |
| 14 |
); |