Bottom navigation component
npm install @clipmx/bottom-navigation```
npm install @clipmx/bottom-navigation --save
`js
import React from 'react';
import BottomNavigation, { BottomNavigationAction } from '@clipmx/bottom-navigation';
import Menu from '@material-ui/icons/Menu';
import Dashboard from '@material-ui/icons/Dashboard';
import SupervisorAccount from '@material-ui/icons/SupervisorAccount';
import Account from '@material-ui/icons/AccountCircle';
import AttachMoney from '@material-ui/icons/AttachMoney';
class MyComponent extends React.Component {
this.state = { selected: 3 };
handleOnChange = (event, value) => this.setState({ selected: value } );
render() {
return (
export default MyComponent;
``
This is a wrapper of the Material-UI BottomNavigation and Material-UI BottomNavigationAction, so you can use any props that Material-UI supports.