1.0.15 • Published 1 year ago
icevent-calendar v1.0.15
Widgets
ICEvent Calendar widgets for 3rd party integration
Test
Installation
- npm install icevent-calendar.
- npm install @dfinity/agent @emotion/react @emotion/styled @mui/icons-material @mui/material moment
- use Calendar with the arribute iceventConfig like the file icevent.json in Configuration section, by the way your calendar id is from ICEvent platform.
Configuration
example:
import { Calendar } from "icevent-calendar";
import iceventConfig from './icevent.json';
<Calendar iceventConfig={iceventConfig} />
configure file icevent.json:
{
"calendarID": "35"
}
issue
for Vite project, add below snippet in vite.config.js for solving "ReferenceError: global is not defined" error
define: {global: 'window'},