diff --git a/core/README-zh.md b/core/README-zh.md index cbeb32a..58adc0f 100644 --- a/core/README-zh.md +++ b/core/README-zh.md @@ -20,7 +20,7 @@ const { Header, Footer, Sider, Content } = Layout; ```jsx import React from 'react'; import ReactDOM from 'react-dom'; -import { Layout } from '@uiw/react-layout'; +import Layout from '@uiw/react-layout'; const { Header, Footer, Sider, Content } = Layout; const stylHeader = { color: '#fff' } diff --git a/core/README.md b/core/README.md index 73050ee..729b334 100644 --- a/core/README.md +++ b/core/README.md @@ -25,7 +25,7 @@ const { Header, Footer, Sider, Content } = Layout; ```jsx import React from 'react'; import ReactDOM from 'react-dom'; -import { Layout } from '@uiw/react-layout'; +import Layout from '@uiw/react-layout'; const { Header, Footer, Sider, Content } = Layout; const stylHeader = { color: '#fff' }