Skip to content

Commit e9fcf8b

Browse files
committed
Update to include icon
1 parent 4a7a96f commit e9fcf8b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/model-serving/src/components/deploymentWizard/DeploymentWizardYAMLView.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
EmptyState,
1111
EmptyStateBody,
1212
} from '@patternfly/react-core';
13+
import { CodeIcon } from '@patternfly/react-icons';
1314

1415
export const DeploymentWizardYAMLView: React.FC = () => {
1516
const [code, setCode] = React.useState('');
@@ -30,6 +31,7 @@ export const DeploymentWizardYAMLView: React.FC = () => {
3031
emptyState={
3132
<Bullseye>
3233
<EmptyState
34+
icon={CodeIcon}
3335
headingLevel="h4"
3436
titleText="No YAML available"
3537
data-testid="yaml-editor-empty-state"
@@ -41,7 +43,7 @@ export const DeploymentWizardYAMLView: React.FC = () => {
4143
data-testid="yaml-editor"
4244
code={code}
4345
onCodeChange={setCode}
44-
language={Language.plaintext}
46+
language={Language.yaml}
4547
isLanguageLabelVisible
4648
/>
4749
</StackItem>

0 commit comments

Comments
 (0)