Skip to content

Commit

Permalink
website(Layout): Fix example errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Mar 4, 2022
1 parent f4325a0 commit 8af29e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/src/routes/components/layout/index.tsx
@@ -1,12 +1,12 @@
import React from 'react';
import { Layout, Divider } from 'uiw';
import * as uiw from 'uiw';
import Markdown from '../../../components/Markdown';

export default function Page() {
return (
<Markdown
path="https://github.com/uiwjs/react-layout/edit/main/core/README-zh.md"
dependencies={{ Layout, Divider }}
dependencies={{ ...uiw }}
renderPage={async () => {
const md = await import('@uiw/react-layout/README-zh.md');
return md.default || md;
Expand Down

0 comments on commit 8af29e4

Please sign in to comment.