eBay/nice-modal-react
 Watch   
 Star   
 Fork   
2023-10-03 17:22:02
nice-modal-react

1.2.13

  • Type fix for create #129.
2023-10-02 14:04:06
nice-modal-react

1.2.12

  • Refine types of useModal and show: allows id as prop.
2023-09-29 22:53:02
nice-modal-react

1.2.11

  1. Make return value of useModal stable if possible.
  2. Added a new ModalHolder component for easy binding props to modal, see example here. (is it really an ugly API?🤣)
  3. Refined type of useModal and show method.
  4. Static remove method accepts a modal component.
2023-04-09 09:39:43
nice-modal-react

1.2.10

  • Include src folder to support sourcemap.
2023-03-03 10:12:35
nice-modal-react

1.2.9

  • Improve typing of show function (#102 by @fperaltalitebox)
  • Allow setting ResolveType to pass to show method (#103 by @fandridis )
  • Included sourcemap.
2022-10-21 10:43:12
nice-modal-react

1.2.8

  • Fix useModel arguments type (by @facuparedes-litebox )
2022-09-22 19:58:55
nice-modal-react

1.2.7

  • 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
2022-05-30 20:52:28
nice-modal-react

1.2.6

Expose NiceModalContext.