@klu_dev/ui-klu-green 1.0.2 → 1.0.4

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 +17 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -16,14 +16,19 @@ npm install @klu_dev/ui-klu-green
16
16
  - BackButton
17
17
 
18
18
  ## 🚀 Uso Input
19
+
20
+ ```tsx
19
21
  import { Input } from "@klu_dev/ui-klu-green"
20
22
 
21
23
  export default function Example() {
22
24
  return <Input placeholder="Escribe algo..." size="lg" />
23
25
  }
26
+ ```
24
27
 
25
28
  - **Input con validación:**
26
29
 
30
+ ```tsx
31
+
27
32
  import { Input } from "@klu_dev/ui-klu-green"
28
33
  import { useState } from "react"
29
34
 
@@ -52,15 +57,23 @@ export default function Example() {
52
57
  />
53
58
  )
54
59
  }
60
+ ```
55
61
 
56
62
  ## 🚀 Uso Button
63
+
64
+
65
+ ```tsx
57
66
  import { Button } from "@klu_dev/ui-klu-green"
58
67
 
59
68
  export default function Example() {
60
69
  return <Button variant="primary">Continuar</Button>
61
70
  }
71
+ ```
72
+
62
73
 
63
74
  ## 🚀 Uso BackButton
75
+
76
+ ```tsx
64
77
  import { BackButton } from "@klu_dev/ui-klu-green"
65
78
 
66
79
  export default function Example() {
@@ -69,4 +82,7 @@ export default function Example() {
69
82
  onClick={() => console.log("Regresar")}
70
83
  />
71
84
  )
72
- }
85
+ }
86
+
87
+
88
+ ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@klu_dev/ui-klu-green",
3
3
  "private": false,
4
- "version": "1.0.2",
4
+ "version": "1.0.4",
5
5
  "description": "Librería de componentes UI",
6
6
  "type": "module",
7
7
  "main": "dist/ui-klu-green.umd.cjs",