diff --git a/src/index.tsx b/src/index.tsx index 5d863b2..fb148df 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -3,15 +3,26 @@ */ import * as React from "react"; +import { Provider } from "react-redux"; +import configureStore from "./store"; +import { initSourceFile, updateSourceFile } from "./store/sourceFiles/actions"; import styles from "./styles.css"; export type Props = { text: string }; -export default class ExampleComponent extends React.Component { +const store = configureStore(); + +export class ExampleComponent extends React.Component { render() { const { text } = this.props; - return
Example Component: {text}
; + return ( + +
Example Component: {text}
+
+ ); } } + +export { initSourceFile, updateSourceFile };