Skip to content

Commit

Permalink
docs: add IxApplicationContext to React code runtime's index.tsx (#1004)
Browse files Browse the repository at this point in the history
  • Loading branch information
jul-lam authored Dec 14, 2023
1 parent 1711c08 commit 80209cf
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/documentation/static/code-runtime/react/index.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
import React from 'react';
import { createRoot } from 'react-dom/client';
import { IxApplicationContext } from '@siemens/ix-react'

import App from './App';

const root = createRoot(document.getElementById('root') as HTMLElement);

root.render(
<React.StrictMode>
<App />
</React.StrictMode>
<React.StrictMode>
<IxApplicationContext>
<App />
</IxApplicationContext>
</React.StrictMode>
);

0 comments on commit 80209cf

Please sign in to comment.