Toolbar design

Reviewed By: danielbuechele

Differential Revision: D6964901

fbshipit-source-id: c052449d0ae3da91bec64c8f9da867244022ccf1
This commit is contained in:
Emil Sjölander
2018-02-12 10:27:12 -08:00
committed by Facebook Github Bot
parent 951a429ac5
commit 9e0f751464
4 changed files with 16 additions and 31 deletions

View File

@@ -29,12 +29,12 @@ export default class Toolbar extends Component<Props> {
width="42"
alt="Yoga logo"
/>
<h1>Yoga Layout</h1>
</Link>
<div className="ToolbarSpacer" />
<Link to="/docs">Docs</Link>
<Link to="/playground">Playground</Link>
<a href="https://github.com/facebook/yoga">GitHub</a>
{this.props.onShowCode && (
<a className="ToolbarToggle" onClick={this.props.onShowCode}>
<Icon type={'code-o'} />