@aristobyte-ui/spinner 2.12.0 → 2.13.0
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 +6 -6
- package/es/.tsbuildinfo +1 -1
- package/es/components/Spinner/Spinner.scss +7 -7
- package/es/components/Spinner/index.d.ts +1 -1
- package/es/components/Spinner/index.js +2 -2
- package/lib/.tsbuildinfo +1 -1
- package/lib/components/Spinner/Spinner.scss +7 -7
- package/lib/components/Spinner/index.d.ts +1 -1
- package/lib/components/Spinner/index.js +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -29,13 +29,13 @@ pnpm add -D @aristobyte-ui/spinner
|
|
|
29
29
|
## 🛠 Usage
|
|
30
30
|
|
|
31
31
|
```tsx
|
|
32
|
-
import { Spinner } from
|
|
32
|
+
import { Spinner } from '@aristobyte-ui/spinner';
|
|
33
33
|
|
|
34
34
|
export const Demo = () => (
|
|
35
35
|
<div>
|
|
36
|
-
<Spinner
|
|
37
|
-
<Spinner
|
|
38
|
-
<Spinner
|
|
36
|
+
<Spinner appearance="default" variant="primary" size="md" />
|
|
37
|
+
<Spinner appearance="duo" variant="success" size="lg" />
|
|
38
|
+
<Spinner appearance="pulse-duo" variant="error" size="sm" />
|
|
39
39
|
</div>
|
|
40
40
|
);
|
|
41
41
|
```
|
|
@@ -56,11 +56,11 @@ export const Demo = () => (
|
|
|
56
56
|
## 🔧 Example in a Package
|
|
57
57
|
|
|
58
58
|
```tsx
|
|
59
|
-
import { Spinner } from
|
|
59
|
+
import { Spinner } from '@aristobyte-ui/spinner';
|
|
60
60
|
|
|
61
61
|
export const LoadingState = () => (
|
|
62
62
|
<div className="flex justify-center items-center">
|
|
63
|
-
<Spinner
|
|
63
|
+
<Spinner appearance="gradient" variant="primary" size="lg" />
|
|
64
64
|
</div>
|
|
65
65
|
);
|
|
66
66
|
```
|