mirror of https://github.com/sgoudham/carbon.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
610 B
JavaScript
32 lines
610 B
JavaScript
import React from 'react'
|
|
|
|
const Toolbar = props => (
|
|
<div className="toolbar" style={props.style}>
|
|
{props.children}
|
|
<style jsx>
|
|
{`
|
|
.toolbar {
|
|
width: 100%;
|
|
height: 40px; // TODO fix
|
|
margin-bottom: 16px;
|
|
display: flex;
|
|
position: relative;
|
|
z-index: 3;
|
|
font-size: 14px;
|
|
color: #fff;
|
|
}
|
|
|
|
.toolbar > :global(div) {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.toolbar > :global(div):last-child {
|
|
margin-right: 0px;
|
|
}
|
|
`}
|
|
</style>
|
|
</div>
|
|
)
|
|
|
|
export default Toolbar
|