Timezone select plugin
The timezone select plugin adds a timezone select UI component to the calendar.
Installation
npm install @schedule-x/timezone-select
Usage
// other imports
import { createTimezoneSelectPlugin, translations as timezoneTranslations } from '@schedule-x/timezone-select'
import { translations, mergeLocales } from '@schedule-x/translations'
import '@schedule-x/timezone-select/index.css'
const calendar = createCalendar({
/* other configuration */
plugins: [
createTimezoneSelectPlugin()
],
translations: mergeLocales(
translations,
timezoneTranslations,
),
})
Last updated on