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>
        )
    }
}