diff options
| author | madelinegr <laura_wilson@brown.edu> | 2019-06-04 18:15:54 -0400 |
|---|---|---|
| committer | madelinegr <laura_wilson@brown.edu> | 2019-06-04 18:15:54 -0400 |
| commit | 4fd53320c87313c9add8f551154f8df3e2522b5f (patch) | |
| tree | 2ee56d028c68acb31ac683e79604ae70d0f94b15 /src/client/views/ViewItem.tsx | |
| parent | 2ef339e37182554a370afd0086322e79b80ac4f2 (diff) | |
end of day 6/4
Diffstat (limited to 'src/client/views/ViewItem.tsx')
| -rw-r--r-- | src/client/views/ViewItem.tsx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/client/views/ViewItem.tsx b/src/client/views/ViewItem.tsx new file mode 100644 index 000000000..85f436b44 --- /dev/null +++ b/src/client/views/ViewItem.tsx @@ -0,0 +1,18 @@ +import { Doc } from "../../new_fields/Doc"; +import React = require("react"); +import "./SearchBox.scss"; + +export interface ViewitemProps { + doc: Doc; + // subitems: FieldViewProps; +} + +export class ViewItem extends React.Component<ViewitemProps> { + + render() { + return ( + <div>{this.props.doc.title}</div> + + ); + } +}
\ No newline at end of file |
