0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
wagtail/client/template/component.mst
Josh Barr 14f02a0b50 Tooling for modern front-end components: React JS, ES6, and BEM CSS
Thanks to @justinvdm for the help

Merges: #2275
2016-02-25 13:32:48 +00:00

16 lines
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>
);
}
}