This commit is contained in:
Jori Lallo
2016-08-12 15:11:18 +02:00
parent bd9a55594b
commit f82a5c41c4

View File

@@ -26,16 +26,15 @@ class Title extends React.Component {
usePlaceholder = true;
}
return(
return (
<span
title={ this.props.children }
className={ cx(styles.title, { untitled: usePlaceholder })}
className={ cx(styles.title, { untitled: usePlaceholder }) }
>
{ title || this.props.placeholder }
</span>
);
}
};
}
export default Title;