Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Youtube SideBarHeader component
import React from 'react';
import {Menu} from 'semantic-ui-react';
import './SideBarHeader.scss';
export function SideBarHeader(props) {
const heading = props.title ? props.title.toUpperCase() : '';
return (
<Menu.Item>
<Menu.Header className='side-bar-header'>{heading}</Menu.Header>
</Menu.Item>
)
}
.side-bar-header {
color: #6d6d6d;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.