Skip to content

Commit 8cc1bfb

Browse files
committed
doc: Update README.md
1 parent e32c3f7 commit 8cc1bfb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/README-zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const { Header, Footer, Sider, Content } = Layout;
2020
```jsx
2121
import React from 'react';
2222
import ReactDOM from 'react-dom';
23-
import { Layout } from '@uiw/react-layout';
23+
import Layout from '@uiw/react-layout';
2424
const { Header, Footer, Sider, Content } = Layout;
2525

2626
const stylHeader = { color: '#fff' }

core/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const { Header, Footer, Sider, Content } = Layout;
2525
```jsx
2626
import React from 'react';
2727
import ReactDOM from 'react-dom';
28-
import { Layout } from '@uiw/react-layout';
28+
import Layout from '@uiw/react-layout';
2929
const { Header, Footer, Sider, Content } = Layout;
3030

3131
const stylHeader = { color: '#fff' }

0 commit comments

Comments
 (0)