diff options
author | zaultavangar <zaul_tavangar@brown.edu> | 2023-12-17 15:59:39 -0500 |
---|---|---|
committer | zaultavangar <zaul_tavangar@brown.edu> | 2023-12-17 15:59:39 -0500 |
commit | e39665be22ecee11b093db07ebe72896a6d43a8c (patch) | |
tree | 569332db337f2d472f3ee2154ee21ee6b005a8d3 /src/client/views/collections/CollectionCalendarView.tsx | |
parent | b0872130aca36c790e4279866582af224ed763ba (diff) |
starting calendar collection view
Diffstat (limited to 'src/client/views/collections/CollectionCalendarView.tsx')
-rw-r--r-- | src/client/views/collections/CollectionCalendarView.tsx | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionCalendarView.tsx b/src/client/views/collections/CollectionCalendarView.tsx new file mode 100644 index 000000000..99dc09732 --- /dev/null +++ b/src/client/views/collections/CollectionCalendarView.tsx @@ -0,0 +1,32 @@ +import * as React from 'react'; +import { CollectionSubView } from "./CollectionSubView"; +import { observer } from 'mobx-react'; +import { makeObservable, observable } from 'mobx'; +import { Doc, DocListCast } from '../../../fields/Doc'; + +@observer +export class CollectionCalendarView extends CollectionSubView(){ + + constructor(props: any){ + super(props); + makeObservable(this); + } + + componentDidMount(): void { + + } + + componentWillUnmount(): void { + + } + + @observable private existingCalendars: Doc[] = DocListCast(Doc.MyCalendars?.data); + + render(){ + return ( + <div> + Hello + </div> + ) + } +}
\ No newline at end of file |