Using inline SVG for greater flexibility with colourising
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user