Skip to content

Latest commit

 

History

History
46 lines (24 loc) · 1.16 KB

CHANGELOG.md

File metadata and controls

46 lines (24 loc) · 1.16 KB

3.0.1

  • Fix multiple clicks on confirm or cancel button (#37) @ypahalajani

3.0.0

Breaking changes

  • Require Material-UI 5 (#36) @tifosiblack

2.1.3

  • Add content option
  • Omit open prop from dialogProps (#30) @gergely-adamku

2.1.2

  • Bump react and react-dom peer dependencies (#23) @Armanio

2.1.1

  • Don't reject confirmation promise when neutrally closing the dialog (e.g. when hitting Esc) (#18) @tincho

2.1.0

  • Merge nested default options (like confirmationButtonProps) with options passed to a confirm call

2.0.5

  • Update TypeScript definitions to use React.ReactNode instead of string where appropriate

2.0.4

  • Add the ability to pass props to confirmation and cancellation buttons

2.0.2

  • Add TypeScript definitions

2.0.1

New API using hooks and Promises.

1.x.x

Higher Order Component API.