fine-modal-react 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -37,7 +37,7 @@ export const ConfirmInviteModal = FineModal.define({
37
37
  export const modals = [ConfirmInviteModal] as const
38
38
  ```
39
39
 
40
- ### (Optional) TypeScript registration for typed `open`
40
+ ### TypeScript registration for typed `open` (required for typing)
41
41
 
42
42
  ```ts
43
43
  import type { modals } from './modals'
@@ -96,7 +96,7 @@ export function App() {
96
96
  Render the modal component where you need it; open it via its static API. This avoids a global host if you only need the modal in one subtree.
97
97
 
98
98
  ```tsx
99
- import { ConfirmInviteModal } from './modals'
99
+ import { ConfirmInviteModal } from './ConfirmInviteModal'
100
100
 
101
101
  export function App() {
102
102
  const handleInvite = async () => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "fine-modal-react",
3
3
  "type": "module",
4
- "version": "1.0.2",
4
+ "version": "1.0.3",
5
5
  "description": "Typed, promise-based modal utilities for React 19+.",
6
6
  "author": "lorof",
7
7
  "license": "MIT",