You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To display Event Calendar correctly, you need to provide the corresponding styles. You can use the **index.css** file to specify important styles for Event Calendar and its container:
115
+
116
+
~~~css title="index.css"
117
+
/* specify styles for initial page */
118
+
html,
119
+
body,
120
+
#root {
121
+
height: 100%;
122
+
padding: 0;
123
+
margin: 0;
124
+
}
125
+
126
+
/* specify styles for the Event Calendar container */
127
+
.widget {
128
+
height: 100%;
109
129
}
110
130
~~~
111
131
@@ -180,7 +200,7 @@ export default function EventCalendarComponent(props) {
The `parse(data)` method provides data reloading on each applied change.
215
235
216
-
Now the Event Calendar component is ready. When the element will be added to the page, it will initialize the Event Calendar with data. You can provide necessary configuration settings as well. Visit our [Event Calendar API docs](/api/overview/properties_overview/) to check the full list of available properties.
236
+
Now the Event Calendar component is ready to use. When the element will be added to the page, it will initialize the Event Calendar with data. You can provide necessary configuration settings as well. Visit our [Event Calendar API docs](/api/overview/properties_overview/) to check the full list of available properties.
0 commit comments