Nice Modal React Versions Save

A modal state manager for React.

1.2.13

7 months ago
  • Type fix for create #129.

1.2.12

8 months ago
  • Refine types of useModal and show: allows id as prop.

1.2.11

8 months ago
  • Make return value of useModal stable if possible.
  • Added a new ModalHolder component for easy binding props to modal, see example here.
  • Refined type of useModal and show method.
  • Static remove method accepts a modal component.

1.2.10

1 year ago
  • Include src folder to support sourcemap.

1.2.9

1 year ago
  • Improve typing of show function (#102 by @fperaltalitebox)
  • Allow setting ResolveType to pass to show method (#103 by @fandridis )
  • Included sourcemap.

1.2.8

1 year ago
  • Fix useModel arguments type (by @facuparedes-litebox )

1.2.7

1 year ago
  • Added antdModalV5 and antdDrawerV5 helpers to support antd v5. (Thanks to @shoota )
  • Name default export for type intelligence (Thanks to @SevenOutman )
  • Improve modal.show type inferring. (Thanks to @alexandredev3 )
  • Added muiDialogV5 helper to support MUI v5

1.2.6

2 years ago

Expose NiceModalContext.