mirror of
https://github.com/flarum/core.git
synced 2025-08-11 19:04:29 +02:00
update: common/components/Placeholder.js
This commit is contained in:
committed by
Franz Liedke
parent
8b891abb2b
commit
d71f77d592
@@ -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>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user