Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(react-scheduler): Add params for commit #3500

Merged
merged 3 commits into from
Feb 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/dx-react-scheduler/api/dx-react-scheduler.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ export namespace EditRecurrenceMenu {
export interface LayoutProps {
availableOperations: Array<any>;
buttonComponent: React_2.ComponentType<EditRecurrenceMenu.ButtonProps>;
commit: () => void;
commit: (value?: string) => void;
getMessage: (messageKey: string) => string;
handleClose: () => void;
isDeleting: boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Field | Type | Description
isDeleting | boolean | **true** if the appointment is being deleted or **false** if it is being edited.
buttonComponent | ComponentType&lt;[EditRecurrenceMenu.ButtonProps](#editrecurrencemenubuttonprops)&gt; | A component that renders the OK and Cancel buttons.
handleClose | () => void | A function that closes the menu.
commit | () => void | A function that commits changes.
commit | (value?: string) => void | A function that commits changes.
availableOperations | Array&lt;string&gt; | A list of available editing operations.
getMessage | (messageKey: string) => string | A function that returns a message with the specified key.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export namespace EditRecurrenceMenu {
/** A function that closes the menu. */
handleClose: () => void;
/** A function that commits changes. */
commit: () => void;
commit: (value?: string) => void;
/** A list of available editing operations. */
availableOperations: Array<any>;
/** A function that returns a message with the specified key. */
Expand Down