diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-04-09 08:53:24 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-04-09 08:53:24 -0400 |
commit | 37763de22835e3a4a7ad995eb089d23054109c3d (patch) | |
tree | b84bb1453328b3158a0473fc53126846c0b061ac /src/debug/Test.tsx | |
parent | 78e098c4ecb95b90482e7d27fd82fb857de96bb4 (diff) | |
parent | cf86d1b7917f0317af550293344f784a341bd7b9 (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/debug/Test.tsx')
-rw-r--r-- | src/debug/Test.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/debug/Test.tsx b/src/debug/Test.tsx index c8de33f41..11f2b0c4e 100644 --- a/src/debug/Test.tsx +++ b/src/debug/Test.tsx @@ -1,10 +1,10 @@ import * as React from 'react'; import * as ReactDOM from 'react-dom'; -import JsxParser from 'react-jsx-parser' +import JsxParser from 'react-jsx-parser'; class Hello extends React.Component<{ firstName: string, lastName: string }> { render() { - return <div>Hello {this.props.firstName} {this.props.lastName}</div> + return <div>Hello {this.props.firstName} {this.props.lastName}</div>; } } @@ -16,8 +16,8 @@ class Test extends React.Component { firstName: "First", lastName: "Last" } - } - return <JsxParser jsx={jsx} bindings={bindings} components={{ Hello }}></JsxParser> + }; + return <JsxParser jsx={jsx} bindings={bindings} components={{ Hello }}></JsxParser>; } } |