@clipmx/toolbar
v0.0.20
Published
A responsive, common toolbar with Clip branding
Downloads
37
Readme
Clip Toolbar
Installation
npm install @clipmx/toolbar --save
Usage
import React from 'react';
import Toolbar from '@clipmx/toolbar';
import { MenuItem } from '@clipmx/menu';
class MyComponent extends React.Component {
state = { anchor: null };
render() {
return (
<div>
<Toolbar brand>
<MenuItem>Item 1</MenuItem>
<MenuItem>Item 1</MenuItem>
<MenuItem>Item 1</MenuItem>
</Toolbar>
</div>
);
}
}
export default MyComponent;
Props
This is a wrapper of the Material-UI AppBar, so you can use any props that Material-UI supports.