diff --git a/components/nav-bar/demo/basic.md b/components/nav-bar/demo/basic.md index d745f5a32d..132ff6c0cd 100644 --- a/components/nav-bar/demo/basic.md +++ b/components/nav-bar/demo/basic.md @@ -1,19 +1,13 @@ --- order: 0 -title: mode +title: NavBar --- -模式 - - ````jsx import { NavBar, Icon } from 'antd-mobile'; ReactDOM.render( -
- , , ]} - >NavBar +
, , ]} diff --git a/components/nav-bar/demo/basic1.md b/components/nav-bar/demo/basic1.md deleted file mode 100644 index 4c3e9b199a..0000000000 --- a/components/nav-bar/demo/basic1.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -order: 1 -title: other ---- - -左侧或右侧无内容 - - -````jsx -import { NavBar, Icon } from 'antd-mobile'; - -ReactDOM.render( -
- , , ]} - >NavBar -
- NavBar -
- } - >NavBar -
- NavBar -
-, mountNode); -````