Skip to content

Commit

Permalink
up navbar demo
Browse files Browse the repository at this point in the history
  • Loading branch information
warmhug committed Sep 22, 2016
1 parent d9d3f0a commit a5ac2b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 37 deletions.
10 changes: 2 additions & 8 deletions components/nav-bar/demo/basic.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
---
order: 0
title: mode
title: NavBar
---

模式


````jsx
import { NavBar, Icon } from 'antd-mobile';

ReactDOM.render(
<div style={{ padding: 8 }}>
<NavBar leftContent="返回"
rightContent={[<Icon key="0" type="user" />, <Icon key="1" type="search" />, <Icon key="2" type="plus" />]}
>NavBar</NavBar>
<div>
<div style={{ height: 8 }} />
<NavBar leftContent="返回" mode="light"
rightContent={[<Icon key="0" type="user" />, <Icon key="1" type="search" />, <Icon key="2" type="plus" />]}
Expand Down
29 changes: 0 additions & 29 deletions components/nav-bar/demo/basic1.md

This file was deleted.

0 comments on commit a5ac2b1

Please sign in to comment.