Skip to content

Commit

Permalink
fix(react-test-app): add modal preview route
Browse files Browse the repository at this point in the history
  • Loading branch information
danielleroux committed Aug 31, 2022
1 parent 80ff193 commit 2567cd3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/react-test-app/src/main.tsx
Expand Up @@ -43,6 +43,7 @@ import { InputReadonly } from './preview-examples/input-readonly';
import { InputWithIcon } from './preview-examples/input-with-icon';
import { Kpi } from './preview-examples/kpi';
import { MessageBar } from './preview-examples/message-bar';
import { ModalExample } from './preview-examples/modal';
import { Pill } from './preview-examples/pill';
import { PopoverNews } from './preview-examples/popover-news';
import { RadioButton } from './preview-examples/radio-button';
Expand Down Expand Up @@ -188,9 +189,10 @@ ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
<Route path="/preview/popover-news" element={<PopoverNews />} />
<Route path="/preview/settings" element={<Settings />} />
<Route path="/preview/kpi" element={<Kpi />} />
<Route path="/preview/modal" element={<ModalExample />} />
</Routes>
</BrowserRouter>
)
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
Expand Down

0 comments on commit 2567cd3

Please sign in to comment.