1
0
mirror of https://github.com/flarum/core.git synced 2025-08-11 10:55:47 +02:00

update: common/components/Placeholder.js

This commit is contained in:
Matthew Kilgore
2020-08-07 21:01:07 -04:00
committed by Franz Liedke
parent 8b891abb2b
commit d71f77d592

View File

@@ -9,10 +9,10 @@ import Component from '../Component';
* - `text`
*/
export default class Placeholder extends Component {
view() {
view(vnode) {
return (
<div className="Placeholder">
<p>{this.props.text}</p>
<p>{this.attrs.text}</p>
</div>
);
}