diff options
| author | Naafiyan Ahmed <naafiyan@gmail.com> | 2022-06-21 19:30:17 -0400 |
|---|---|---|
| committer | Naafiyan Ahmed <naafiyan@gmail.com> | 2022-06-21 19:30:17 -0400 |
| commit | fa890475baceb8468e3c6e8c6e49d1b1fc1b962a (patch) | |
| tree | 2a8754386b61d0fd51a7bdbaa7b64774558778eb /src/client/views/nodes/DataViz.tsx | |
| parent | 566b33847cff9217ed6e4e11bed2e1b92798bc95 (diff) | |
running into jsx parsing error
Diffstat (limited to 'src/client/views/nodes/DataViz.tsx')
| -rw-r--r-- | src/client/views/nodes/DataViz.tsx | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/client/views/nodes/DataViz.tsx b/src/client/views/nodes/DataViz.tsx index 60b27c19c..57c5c0259 100644 --- a/src/client/views/nodes/DataViz.tsx +++ b/src/client/views/nodes/DataViz.tsx @@ -4,11 +4,23 @@ import { FieldView, FieldViewProps } from "./FieldView"; import { ViewBoxBaseComponent } from '../DocComponent'; export class DataViz extends ViewBoxBaseComponent<FieldViewProps>() { + + constructor(props: any) { + super(props); + } + + public static LayoutString(fieldKey: string) { return FieldView.LayoutString(DataViz, fieldKey); } render() { - return (<div>Hi</div>) + return ( + <div className="dataViz"> + <div> + Hi + </div> + </div> + ); } }
\ No newline at end of file |
