Skip to content

Instantly share code, notes, and snippets.

@productioncoder
Created September 8, 2018 12:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save productioncoder/100f4dd05d3a823266c5dd37af02b7b1 to your computer and use it in GitHub Desktop.
Save productioncoder/100f4dd05d3a823266c5dd37af02b7b1 to your computer and use it in GitHub Desktop.
Add SideBarFooter to SideBar
/*...*/
import {SideBarFooter} from './SideBarFooter/SideBarFooter';
export class SideBar extends React.Component {
render() {
return (
<Menu borderless vertical stackable fixed='left' className='side-nav'>
{/*rest unchanged*/}
<SideBarItem label='Send feedback' icon='comment'/>
<Divider/>
<SideBarFooter/>
</Menu>
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment