File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
packages/pluggableWidgets/calendar-web/src Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
import classnames from "classnames" ;
2
2
import { ReactElement , createElement } from "react" ;
3
- import { DnDCalendar , extractCalendarProps } from "./utils/calendar-utils" ;
4
3
import { CalendarContainerProps } from "../typings/CalendarProps" ;
4
+ import { CalendarPropsBuilder } from "./helpers/CalendarPropsBuilder" ;
5
+ import { DnDCalendar } from "./utils/calendar-utils" ;
5
6
import { constructWrapperStyle } from "./utils/style-utils" ;
6
7
import "./ui/Calendar.scss" ;
7
8
8
9
export default function MxCalendar ( props : CalendarContainerProps ) : ReactElement {
9
10
const { class : className } = props ;
10
11
const wrapperStyle = constructWrapperStyle ( props ) ;
11
- const calendarProps = extractCalendarProps ( props ) ;
12
+ const calendarProps = new CalendarPropsBuilder ( props ) . build ( ) ;
12
13
13
14
return (
14
15
< div className = { classnames ( "widget-calendar" , className ) } style = { wrapperStyle } >
You can’t perform that action at this time.
0 commit comments