Skip to content

Commit

Permalink
mark confirmButtonText and cancelButtonText props as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
chad1008 committed Feb 28, 2022
1 parent 64e34a8 commit 750e4d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/confirm-dialog/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export type DialogInputEvent =
type BaseProps = {
children: ReactNode;
onConfirm: ( event: DialogInputEvent ) => void;
confirmButtonText: string;
cancelButtonText: string;
confirmButtonText?: string;
cancelButtonText?: string;
};

type ControlledProps = BaseProps & {
Expand Down

0 comments on commit 750e4d3

Please sign in to comment.