wagtail/client/template/component.mst

16 wiersze
262 B
Plaintext

import React, { Component, PropTypes } from 'react';
export default class {{ name }} extends Component {
constructor(props) {
super(props);
this.state = {};
}
render() {
return (
<div className="c-{{ slug }}">
</div>
);
}
}