houdini/lib/generators/react/component/templates/component.tsx.erb
2018-05-22 13:33:35 -05:00

20 lines
439 B
Text

// License: LGPL-3.0-or-later
import * as React from 'react';
import { observer } from 'mobx-react';
import {InjectedIntlProps, injectIntl} from 'react-intl';
export interface <%= file_name.camelize %>Props
{
}
class <%= file_name.camelize %> extends React.Component<<%= file_name.camelize %>Props & InjectedIntlProps, {}> {
render() {
return <div></div>;
}
}
export default injectIntl(observer(<%= file_name.camelize %>))