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/nodes/calendarBox/CalendarBox.tsx | |
parent | b0872130aca36c790e4279866582af224ed763ba (diff) |
starting calendar collection view
Diffstat (limited to 'src/client/views/nodes/calendarBox/CalendarBox.tsx')
-rw-r--r-- | src/client/views/nodes/calendarBox/CalendarBox.tsx | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/client/views/nodes/calendarBox/CalendarBox.tsx b/src/client/views/nodes/calendarBox/CalendarBox.tsx new file mode 100644 index 000000000..0aa3b4ccc --- /dev/null +++ b/src/client/views/nodes/calendarBox/CalendarBox.tsx @@ -0,0 +1,26 @@ +import * as React from 'react'; +import { observer } from "mobx-react"; +import { Doc } from "../../../../fields/Doc"; +import { ViewBoxAnnotatableComponent, ViewBoxAnnotatableProps, ViewBoxBaseComponent } from '../../DocComponent'; +import { FieldView, FieldViewProps } from '../FieldView'; +import { StrCast } from '../../../../fields/Types'; +import { makeObservable } from 'mobx'; + +@observer +export class CalendarBox extends ViewBoxBaseComponent<FieldViewProps>(){ + public static LayoutString(fieldKey: string = 'calendar') { + return FieldView.LayoutString(CalendarBox, fieldKey); + } + + constructor(props: any){ + super(props); + makeObservable(this); + } + + render(){ + return ( + <div></div> + ); + + } +}
\ No newline at end of file |