
components.core.Template.js Maven / Gradle / Ivy
import React from 'react';
import { Collapse, Navbar, NavbarToggler, Nav, NavItem, Button } from 'reactstrap';
import SideBar from 'n2o-framework/lib/plugins/SideBar/SideBar';
import Icon from 'n2o-framework/lib/components/snippets/Icon/Icon';
class Template extends React.Component {
constructor(props) {
super(props);
this.state = {
sidebarOpen: true,
isOpen: false
};
this.handleToggleSidebar = this.handleToggleSidebar.bind(this);
this.toggle = this.toggle.bind(this);
}
handleToggleSidebar() {
this.setState({
sidebarOpen: !this.state.sidebarOpen
})
}
toggle() {
this.setState({
isOpen: !this.state.isOpen
});
}
render() {
return (
);
}
}
export default Template;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy