Using inline SVG for greater flexibility with colourising

This commit is contained in:
James Barnsley
2018-02-15 16:16:00 +13:00
parent 6fe069e58c
commit c4c3201523
39 changed files with 607 additions and 752 deletions

View File

@ -62,7 +62,7 @@ export default class Header extends React.Component{
render(){
return (
<header className={(this.props.className ? this.props.className : null)}>
{this.props.icon ? <Icon name={this.props.icon} /> : null}
{this.props.icon ? <Icon className="header-icon" name={this.props.icon} /> : null}
{this.props.title ? <h1>{ this.props.title }</h1> : null}
{this.renderOptions()}
</header>