Skip to content

Commit 44ac28c

Browse files
feat: CCM-27198: Update README.md
1 parent 2ae42a9 commit 44ac28c

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

plugins/harness-ccm/README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,23 @@ import {
6161
Use the imported components to add the Harness CCM content to your entity page:
6262
```tsx
6363
const ccmContent = (
64-
<EntitySwitch.Case if={isHarnessCcmAvailable}>
6564
<EntityCcmContent />
66-
</EntitySwitch.Case>
65+
);
66+
```
67+
68+
#### Example for using ccmContent
69+
```tsx
70+
const websiteEntityPage = (
71+
<EntityLayout>
72+
<EntityLayout.Route path="/" title="Overview">
73+
{overviewContent}
74+
</EntityLayout.Route>
75+
{/* Add this route */}
76+
<EntityLayout.Route path="/ccm" title="Cloud Cost Management">
77+
{ccmContent}
78+
</EntityLayout.Route>
79+
{/* ... other routes ... */}
80+
</EntityLayout>
6781
);
6882
```
6983

0 commit comments

Comments
 (0)