@clipmx/toolbar

A responsive, common toolbar with Clip branding

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@clipmx/toolbar
Minified + gzip package size for @clipmx/toolbar in KB

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.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.