Skip to content

Commit d0d51fb

Browse files
committed
update on Confirm
1 parent 5db094f commit d0d51fb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@arshadrao/react-scheduler",
3-
"version": "3.0.6",
3+
"version": "3.0.7",
44
"description": "React scheduler component based on Material-UI & date-fns",
55
"main": "./dist/Scheduler.js",
66
"//types": "./dist/index.d.ts",

src/lib/context/state/State.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ const AppState = ({ initial, children }: AppProps) => {
4545
direction,
4646
loading,
4747
onEventDrop,
48+
onConfirm,
4849
} = initial;
4950
const [state, dispatch] = useReducer(stateReducer, initialState(initial));
5051

@@ -71,6 +72,7 @@ const AppState = ({ initial, children }: AppProps) => {
7172
locale,
7273
direction,
7374
loading,
75+
onConfirm,
7476
});
7577
} else {
7678
handleState(true, "mounted");

0 commit comments

Comments
 (0)