| id | Code editor | |||
|---|---|---|---|---|
| section | components | |||
| cssPrefix | pf-c-code-editor | |||
| propComponents |
|
Note: Code editor lives in its own package at @patternfly/react-code-editor and has required peer deps.
import { CodeEditor, CodeEditorControl, Language } from '@patternfly/react-code-editor'; import PlayIcon from '@patternfly/react-icons/dist/esm/icons/play-icon';
These examples below are the shortcuts that we recommend describing in the popover since they are monaco features.