We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e63b27 commit 1234a39Copy full SHA for 1234a39
packages/react-renderer-demo/src/doc-components/examples-texts/pf4/select.md
@@ -31,6 +31,16 @@ const asyncLoadOptions = (searchValue) => new Promise(resolve => setTimeout(() =
31
}, 2000));
32
```
33
34
+## Description
35
+
36
+PF4 select can render a description for each option. Just add a `description` attribute to its object (can be `React.node`):
37
38
+```jsx
39
+options: [
40
+ { value: 'value', label: 'Some label', description: 'Some description' }
41
+]
42
+```
43
44
import SelectCommon from '../select.md';
45
46
<SelectCommon/>
0 commit comments