@alankrit2/ui 0.4.0 → 0.4.1
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.
- package/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ npm install react react-dom
|
|
|
36
36
|
A fully accessible modal dialog component.
|
|
37
37
|
|
|
38
38
|
```tsx
|
|
39
|
-
import { Dialog } from '@
|
|
39
|
+
import { Dialog } from '@alankrit2/ui';
|
|
40
40
|
|
|
41
41
|
function MyApp() {
|
|
42
42
|
return (
|
|
@@ -74,7 +74,7 @@ function MyApp() {
|
|
|
74
74
|
|
|
75
75
|
```tsx
|
|
76
76
|
import { useState } from 'react';
|
|
77
|
-
import { Dialog } from '@
|
|
77
|
+
import { Dialog } from '@alankrit2/ui';
|
|
78
78
|
|
|
79
79
|
function ControlledDialog() {
|
|
80
80
|
const [open, setOpen] = useState(false);
|
|
@@ -176,7 +176,7 @@ This library is headless, meaning it provides zero styles. You can style compone
|
|
|
176
176
|
Full TypeScript support with exported types:
|
|
177
177
|
|
|
178
178
|
```tsx
|
|
179
|
-
import type { DialogProps, DialogContentProps } from '@
|
|
179
|
+
import type { DialogProps, DialogContentProps } from '@alankrit2/ui';
|
|
180
180
|
```
|
|
181
181
|
|
|
182
182
|
## License
|