compile a typescript react component with webpack
This commit is contained in:
parent
9015b09026
commit
5a45f140c2
5 changed files with 22 additions and 32 deletions
10
static/js/directives/components/component.tsx
Normal file
10
static/js/directives/components/component.tsx
Normal file
|
@ -0,0 +1,10 @@
|
|||
import * as React from "react";
|
||||
|
||||
class repoHeader extends React.Component<{}, {}> {
|
||||
render () {
|
||||
return <p> The component for the header</p>;
|
||||
}
|
||||
}
|
||||
|
||||
export default repoHeader;
|
||||
|
Reference in a new issue