How to use the @ui-kitten/components.CalendarViewModes.MONTH function in @ui-kitten/components

To help you get started, we’ve selected a few @ui-kitten/components examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github akveo / react-native-ui-kitten / src / playground / src / scenes / calendar / type.ts View on Github external
props: {
    date: moment(),
    dateService: new MomentDateService(),
  },
};

const dateFnsCalendar: ComponentShowcaseItem = {
  props: {
    date: now,
    dateService: new DateFnsService(),
  },
};

const startViewCalendar: ComponentShowcaseItem = {
  props: {
    startView: CalendarViewModes.MONTH,
  },
};

const minMaxCalendar: ComponentShowcaseItem = {
  props: {
    min: new Date(now.getFullYear(), now.getMonth(), 15),
    max: new Date(now.getFullYear(), now.getMonth() + 1, 15),
  },
};

const boundingCalendar: ComponentShowcaseItem = {
  props: {
    ...defaultCalendar.props,
    boundingMonth: false,
  },
};