How to use the framework7-react.Calendar.contextTypes function in framework7-react

To help you get started, we’ve selected a few framework7-react examples, based on popular ways it is used in public projects.

github bencompton / framework7-react / kitchen-sink / components / pages / CalendarPage.tsx View on Github external
</ContentBlock>

            <ContentBlockTitle>Multiple</ContentBlockTitle>
            <ContentBlock inner>
                <Calendar style={calendarStyle} multiple={true} />
            </ContentBlock>

            <ContentBlockTitle>Range Picker</ContentBlockTitle>
            <ContentBlock inner>
                <Calendar style={calendarStyle} rangePicker={true} />
            </ContentBlock>
        </Page>
    );
};

Calendar.contextTypes = {
    framework7AppContext: object
}