Debian Codegraph @

node/@patternfly/react-core/src/demos/LabelGroupDemos.md

raw
1 ---
2 id: Label
3 section: components
4 ---
5
6 import { Fragment, useEffect, useRef, useState } from 'react';
7 import { Modal as ModalDeprecated, ModalVariant as ModalVariantDeprecated } from '@patternfly/react-core/deprecated';
8 import RhUiInformationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-information-fill-icon';
9
10 ## Demos
11
12 ### Editable labels with add dropdown
13
14 ```ts file="../components/Label/examples/LabelGroupEditableAddDropdown.tsx"
15
16 ```
17
18 ### Editable labels with add modal
19
20 ```ts file="../components/Label/examples/LabelGroupEditableAddModal.tsx"
21
22 ```