Skip to content

Commit

Permalink
Use SimpleButton in Toolbar example
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiVolland committed Sep 6, 2017
1 parent 09cd249 commit 8f5d28b
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions src/Toolbar/Toolbar.example.jsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
import React from 'react';
import { render } from 'react-dom';
import { Button } from 'antd';
import SimpleButton from '../Button/SimpleButton/SimpleButton.jsx'; //@react-geo@
import Toolbar from './Toolbar.jsx'; //@react-geo@

render(
<div>
<Toolbar>
<Button type="primary" shape="circle" icon="search" />
<Button type="primary" shape="circle" icon="search" />
<Button type="primary" shape="circle" icon="search" />
<SimpleButton type="primary" shape="circle" icon="search" />
<SimpleButton type="primary" shape="circle" icon="search" />
<SimpleButton type="primary" shape="circle" icon="search" />
</Toolbar>
<hr style="margin: 1em"/>
<hr
style={{
margin: '1em'
}}
/>
<Toolbar alignment="vertical" style={{
position: 'unset'
}}>
<Button type="primary" shape="circle" icon="info" />
<Button type="primary" shape="circle" icon="info" />
<Button type="primary" shape="circle" icon="info" />
<SimpleButton type="primary" shape="circle" icon="info" />
<SimpleButton type="primary" shape="circle" icon="info" />
<SimpleButton type="primary" shape="circle" icon="info" />
</Toolbar>
</div>,
document.getElementById('exampleContainer')
Expand Down

0 comments on commit 8f5d28b

Please sign in to comment.