diff options
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 |
