ywana-core8 0.1.103 → 0.2.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.
Files changed (172) hide show
  1. package/dist/index.css +4941 -324
  2. package/dist/index.js +42338 -0
  3. package/dist/index.js.map +1 -0
  4. package/dist/index.modern.js +37458 -31678
  5. package/dist/index.modern.js.map +1 -1
  6. package/dist/index.umd.js +39634 -34010
  7. package/dist/index.umd.js.map +1 -1
  8. package/package.json +26 -29
  9. package/src/Test.stories.jsx +28 -0
  10. package/src/desktop/Desktop.stories.jsx +110 -0
  11. package/src/desktop/WindowContext.js +135 -0
  12. package/src/desktop/WindowManager.js +355 -0
  13. package/src/desktop/desktop.css +55 -4
  14. package/src/desktop/desktop.js +312 -6
  15. package/src/desktop/index.js +7 -0
  16. package/src/desktop/window.css +229 -36
  17. package/src/desktop/window.js +254 -20
  18. package/src/desktop.backup/desktop.css +6 -0
  19. package/src/desktop.backup/desktop.js +13 -0
  20. package/src/desktop.backup/window.css +58 -0
  21. package/src/desktop.backup/window.js +27 -0
  22. package/src/html/Accordion.stories.jsx +178 -0
  23. package/src/html/Button.stories.jsx +175 -0
  24. package/src/html/Checkbox.stories.jsx +131 -0
  25. package/src/html/Chip.stories.jsx +189 -0
  26. package/src/html/Color.stories.jsx +234 -0
  27. package/src/html/Form.stories.jsx +271 -0
  28. package/src/html/Icon.stories.jsx +233 -0
  29. package/src/html/Progress.stories.jsx +247 -0
  30. package/src/html/Radio.stories.jsx +289 -0
  31. package/src/html/StyleTest.stories.jsx +81 -0
  32. package/src/html/Switch.stories.jsx +329 -0
  33. package/src/html/Tab.stories.jsx +239 -0
  34. package/src/html/Table.stories.jsx +188 -0
  35. package/src/html/Table2.stories.jsx +238 -0
  36. package/src/html/TextField2.stories.jsx +337 -0
  37. package/src/html/Tree.stories.jsx +285 -0
  38. package/src/html/accordion.example.js +0 -74
  39. package/src/html/accordion.js +1 -6
  40. package/src/html/button.js +2 -13
  41. package/src/html/checkbox.js +1 -9
  42. package/src/html/chip.js +2 -19
  43. package/src/html/color.js +1 -14
  44. package/src/html/form.js +4 -15
  45. package/src/html/header2.js +1 -12
  46. package/src/html/icon.js +1 -7
  47. package/src/html/index.js +1 -1
  48. package/src/html/list.js +1 -19
  49. package/src/html/menu.js +9 -5
  50. package/src/html/progress.js +5 -53
  51. package/src/html/property.js +9 -25
  52. package/src/html/radio.js +2 -16
  53. package/src/html/section.js +1 -6
  54. package/src/html/selector.js +2 -19
  55. package/src/html/switch.css +134 -100
  56. package/src/html/switch.example.js +46 -36
  57. package/src/html/switch.js +43 -192
  58. package/src/html/tab.js +3 -24
  59. package/src/html/text.js +1 -12
  60. package/src/html/textfield2.js +5 -42
  61. package/src/html/thumbnail.js +1 -12
  62. package/src/html/tokenfield.js +2 -21
  63. package/src/html/tree.js +3 -35
  64. package/src/index.js +1 -0
  65. package/__previewjs__/Wrapper.tsx +0 -14
  66. package/build-doc.sh +0 -10
  67. package/db/db.json +0 -89
  68. package/db/routes.json +0 -0
  69. package/dist/index.cjs +0 -36722
  70. package/dist/index.cjs.map +0 -1
  71. package/dist/index.css.map +0 -1
  72. package/doc/README.md +0 -196
  73. package/doc/evalulations/ACCORDION_EVALUATION.md +0 -583
  74. package/doc/evalulations/CHECKBOX_EVALUATION.md +0 -273
  75. package/doc/evalulations/CHIP_EVALUATION.md +0 -542
  76. package/doc/evalulations/COLOR_EVALUATION.md +0 -524
  77. package/doc/evalulations/COMPONENTS_EVALUATION.md +0 -477
  78. package/doc/evalulations/FORM_EVALUATION.md +0 -459
  79. package/doc/evalulations/HEADER_EVALUATION.md +0 -436
  80. package/doc/evalulations/ICON_EVALUATION.md +0 -254
  81. package/doc/evalulations/LIST_EVALUATION.md +0 -574
  82. package/doc/evalulations/PROGRESS_EVALUATION.md +0 -450
  83. package/doc/evalulations/RADIO_EVALUATION.md +0 -439
  84. package/doc/evalulations/RADIO_VISUAL_FIX.md +0 -183
  85. package/doc/evalulations/SECTION_IMPROVEMENTS.md +0 -153
  86. package/doc/evalulations/SWITCH_EVALUATION.md +0 -335
  87. package/doc/evalulations/SWITCH_VISUAL_FIX.md +0 -232
  88. package/doc/evalulations/TAB_EVALUATION.md +0 -626
  89. package/doc/evalulations/TEXTFIELD_EVALUATION.md +0 -747
  90. package/doc/evalulations/TOOLTIP_FIX.md +0 -157
  91. package/doc/evalulations/TREE_EVALUATION.md +0 -708
  92. package/doc/index.html +0 -0
  93. package/doc/package-lock.json +0 -17298
  94. package/doc/package.json +0 -34
  95. package/doc/public/index.html +0 -24
  96. package/doc/scripts/generate-examples.js +0 -129
  97. package/doc/src/App.css +0 -171
  98. package/doc/src/App.js +0 -114
  99. package/doc/src/components/ExamplePage.js +0 -129
  100. package/doc/src/components/WelcomePage.js +0 -84
  101. package/doc/src/index.css +0 -246
  102. package/doc/src/index.js +0 -17
  103. package/doc/src/theme.css +0 -256
  104. package/jest.config.js +0 -24
  105. package/preview.config.js +0 -38
  106. package/publish.sh +0 -6
  107. package/src/desktop/dektop.test.js +0 -11
  108. package/src/domain/CollectionAPI.test.js +0 -19
  109. package/src/domain/ContentEditor.test.js +0 -52
  110. package/src/domain2/CollectionAPI.test.js +0 -19
  111. package/src/domain2/CollectionContext.test.js +0 -71
  112. package/src/domain2/CollectionPage.test.js +0 -112
  113. package/src/domain2/DynamicForm.test.js +0 -47
  114. package/src/html/accordion.test.js +0 -37
  115. package/src/html/accordion.unit.test.js +0 -334
  116. package/src/html/button.example.new.js +0 -416
  117. package/src/html/button.test.js +0 -422
  118. package/src/html/checkbox.test.js +0 -285
  119. package/src/html/chip.test.js +0 -425
  120. package/src/html/color.example.js.backup +0 -527
  121. package/src/html/color.test.js +0 -377
  122. package/src/html/components.example.js.backup +0 -492
  123. package/src/html/components_enhanced.test.js +0 -581
  124. package/src/html/form.example.js.backup +0 -385
  125. package/src/html/form.test.js +0 -369
  126. package/src/html/header2.example.js.backup +0 -411
  127. package/src/html/header2.test.js +0 -377
  128. package/src/html/icon.example.js.backup +0 -268
  129. package/src/html/icon.test.js +0 -231
  130. package/src/html/label.test.js +0 -0
  131. package/src/html/list.example.js.backup +0 -404
  132. package/src/html/list.test.js +0 -383
  133. package/src/html/progress.example.js.backup +0 -424
  134. package/src/html/progress.test.js +0 -313
  135. package/src/html/property.example.js.backup +0 -553
  136. package/src/html/property.test.js +0 -371
  137. package/src/html/radio.example.js.backup +0 -389
  138. package/src/html/radio.test.js +0 -318
  139. package/src/html/section.example.js.backup +0 -99
  140. package/src/html/section.test.js +0 -131
  141. package/src/html/selector.test.js +0 -20
  142. package/src/html/switch.example.js.backup +0 -461
  143. package/src/html/switch.test.js +0 -355
  144. package/src/html/tab.example.js.backup +0 -446
  145. package/src/html/tab.test.js +0 -25
  146. package/src/html/tab_enhanced.test.js +0 -504
  147. package/src/html/table.test.js +0 -70
  148. package/src/html/table2.test.js +0 -582
  149. package/src/html/text.test.js +0 -15
  150. package/src/html/textfield.test.js +0 -51
  151. package/src/html/textfield2.example.js.backup +0 -1370
  152. package/src/html/textfield2.test.js +0 -950
  153. package/src/html/tokenfield.example.js.backup +0 -503
  154. package/src/html/tokenfield.test.js +0 -423
  155. package/src/html/tree.example.js.backup +0 -475
  156. package/src/html/tree.test.js +0 -43
  157. package/src/html/tree_enhanced.test.js +0 -495
  158. package/src/http/token.test.js +0 -50
  159. package/src/incubator/pdfViewer.js +0 -33
  160. package/src/incubator/wizard.test.js +0 -127
  161. package/src/site/site.test.js +0 -230
  162. package/src/site/view.test.js +0 -41
  163. package/src/widgets/calendar/Calendar.test.js +0 -28
  164. package/src/widgets/explorer/Explorer.test.js +0 -121
  165. package/src/widgets/ide/editor.test.js +0 -33
  166. package/src/widgets/kanban/Kanban.test.js +0 -78
  167. package/src/widgets/login/LoginBox.test.js +0 -12
  168. package/src/widgets/login/ResetPasswordBox.test.js +0 -34
  169. package/src/widgets/login/validations.test.js +0 -51
  170. package/src/widgets/planner/Planner.test.js +0 -60
  171. package/src/widgets/upload/Upload.test.js +0 -32
  172. package/table2.test.js +0 -454
@@ -1,416 +0,0 @@
1
- import React, { useState } from 'react'
2
- import { Button } from './button'
3
- import { Icon } from './icon'
4
- import { ExampleLayout, ExampleSection, ExampleSubsection, CodeSnippet } from './ExampleLayout'
5
-
6
- /**
7
- * Ejemplos del componente Button con menú lateral de navegación
8
- */
9
- export const ButtonExamples = () => {
10
- const [loading, setLoading] = useState(false)
11
- const [disabled, setDisabled] = useState(false)
12
-
13
- // Definir secciones para el menú lateral
14
- const sections = [
15
- {
16
- id: 'overview',
17
- title: 'Introducción',
18
- icon: 'info'
19
- },
20
- {
21
- id: 'basic-buttons',
22
- title: 'Botones Básicos',
23
- icon: 'smart_button',
24
- subsections: [
25
- { id: 'primary-buttons', title: 'Botones Primarios' },
26
- { id: 'secondary-buttons', title: 'Botones Secundarios' },
27
- { id: 'text-buttons', title: 'Botones de Texto' }
28
- ]
29
- },
30
- {
31
- id: 'button-states',
32
- title: 'Estados de Botones',
33
- icon: 'toggle_on',
34
- subsections: [
35
- { id: 'loading-state', title: 'Estado de Carga' },
36
- { id: 'disabled-state', title: 'Estado Deshabilitado' },
37
- { id: 'active-state', title: 'Estado Activo' }
38
- ]
39
- },
40
- {
41
- id: 'button-sizes',
42
- title: 'Tamaños',
43
- icon: 'format_size'
44
- },
45
- {
46
- id: 'button-icons',
47
- title: 'Botones con Iconos',
48
- icon: 'add_circle'
49
- },
50
- {
51
- id: 'button-groups',
52
- title: 'Grupos de Botones',
53
- icon: 'view_module'
54
- },
55
- {
56
- id: 'api-reference',
57
- title: 'Referencia API',
58
- icon: 'code'
59
- }
60
- ]
61
-
62
- const handleClick = (label) => {
63
- console.log(`Button clicked: ${label}`)
64
- }
65
-
66
- const simulateLoading = () => {
67
- setLoading(true)
68
- setTimeout(() => setLoading(false), 3000)
69
- }
70
-
71
- return (
72
- <ExampleLayout title="Button Examples" sections={sections}>
73
- <ExampleSection id="overview" title="Button - Componente de Botón" icon="smart_button">
74
- <p>Componente versátil de botón con múltiples variantes, estados y opciones de personalización.</p>
75
-
76
- <div style={{
77
- background: '#f8f9fa',
78
- padding: '1rem',
79
- borderRadius: '8px',
80
- marginBottom: '2rem',
81
- border: '1px solid #e9ecef'
82
- }}>
83
- <h4>✨ Características principales:</h4>
84
- <ul style={{ columns: 2, columnGap: '2rem', margin: '0.5rem 0' }}>
85
- <li>🎨 Múltiples variantes (primary, secondary, text)</li>
86
- <li>📏 Diferentes tamaños (small, medium, large)</li>
87
- <li>🔄 Estados de carga y deshabilitado</li>
88
- <li>🎯 Iconos integrados</li>
89
- <li>⌨️ Accesibilidad completa</li>
90
- <li>📱 Responsive design</li>
91
- </ul>
92
- </div>
93
- </ExampleSection>
94
-
95
- <ExampleSection id="basic-buttons" title="Botones Básicos" icon="smart_button">
96
- <ExampleSubsection id="primary-buttons" title="Botones Primarios">
97
- <div style={{
98
- background: '#fff',
99
- padding: '1.5rem',
100
- borderRadius: '8px',
101
- border: '1px solid #ddd',
102
- marginBottom: '1rem'
103
- }}>
104
- <div style={{ display: 'flex', gap: '1rem', flexWrap: 'wrap', marginBottom: '1rem' }}>
105
- <Button
106
- label="Primary Button"
107
- variant="primary"
108
- action={() => handleClick('Primary')}
109
- />
110
- <Button
111
- label="Primary with Icon"
112
- variant="primary"
113
- icon="add"
114
- action={() => handleClick('Primary with Icon')}
115
- />
116
- <Button
117
- label="Primary Loading"
118
- variant="primary"
119
- loading={loading}
120
- action={simulateLoading}
121
- />
122
- </div>
123
- </div>
124
-
125
- <CodeSnippet
126
- title="Código de Botones Primarios"
127
- code={`<Button
128
- label="Primary Button"
129
- variant="primary"
130
- action={() => handleClick('Primary')}
131
- />
132
-
133
- <Button
134
- label="Primary with Icon"
135
- variant="primary"
136
- icon="add"
137
- action={() => handleClick('Primary with Icon')}
138
- />
139
-
140
- <Button
141
- label="Primary Loading"
142
- variant="primary"
143
- loading={loading}
144
- action={simulateLoading}
145
- />`}
146
- />
147
- </ExampleSubsection>
148
-
149
- <ExampleSubsection id="secondary-buttons" title="Botones Secundarios">
150
- <div style={{
151
- background: '#fff',
152
- padding: '1.5rem',
153
- borderRadius: '8px',
154
- border: '1px solid #ddd',
155
- marginBottom: '1rem'
156
- }}>
157
- <div style={{ display: 'flex', gap: '1rem', flexWrap: 'wrap', marginBottom: '1rem' }}>
158
- <Button
159
- label="Secondary Button"
160
- variant="secondary"
161
- action={() => handleClick('Secondary')}
162
- />
163
- <Button
164
- label="Secondary with Icon"
165
- variant="secondary"
166
- icon="edit"
167
- action={() => handleClick('Secondary with Icon')}
168
- />
169
- <Button
170
- label="Secondary Disabled"
171
- variant="secondary"
172
- disabled={true}
173
- action={() => handleClick('Secondary Disabled')}
174
- />
175
- </div>
176
- </div>
177
-
178
- <CodeSnippet
179
- title="Código de Botones Secundarios"
180
- code={`<Button
181
- label="Secondary Button"
182
- variant="secondary"
183
- action={() => handleClick('Secondary')}
184
- />
185
-
186
- <Button
187
- label="Secondary with Icon"
188
- variant="secondary"
189
- icon="edit"
190
- action={() => handleClick('Secondary with Icon')}
191
- />
192
-
193
- <Button
194
- label="Secondary Disabled"
195
- variant="secondary"
196
- disabled={true}
197
- action={() => handleClick('Secondary Disabled')}
198
- />`}
199
- />
200
- </ExampleSubsection>
201
-
202
- <ExampleSubsection id="text-buttons" title="Botones de Texto">
203
- <div style={{
204
- background: '#fff',
205
- padding: '1.5rem',
206
- borderRadius: '8px',
207
- border: '1px solid #ddd',
208
- marginBottom: '1rem'
209
- }}>
210
- <div style={{ display: 'flex', gap: '1rem', flexWrap: 'wrap', marginBottom: '1rem' }}>
211
- <Button
212
- label="Text Button"
213
- variant="text"
214
- action={() => handleClick('Text')}
215
- />
216
- <Button
217
- label="Text with Icon"
218
- variant="text"
219
- icon="link"
220
- action={() => handleClick('Text with Icon')}
221
- />
222
- <Button
223
- label="Text Danger"
224
- variant="text"
225
- color="danger"
226
- action={() => handleClick('Text Danger')}
227
- />
228
- </div>
229
- </div>
230
-
231
- <CodeSnippet
232
- title="Código de Botones de Texto"
233
- code={`<Button
234
- label="Text Button"
235
- variant="text"
236
- action={() => handleClick('Text')}
237
- />
238
-
239
- <Button
240
- label="Text with Icon"
241
- variant="text"
242
- icon="link"
243
- action={() => handleClick('Text with Icon')}
244
- />
245
-
246
- <Button
247
- label="Text Danger"
248
- variant="text"
249
- color="danger"
250
- action={() => handleClick('Text Danger')}
251
- />`}
252
- />
253
- </ExampleSubsection>
254
- </ExampleSection>
255
-
256
- <ExampleSection id="button-states" title="Estados de Botones" icon="toggle_on">
257
- <ExampleSubsection id="loading-state" title="Estado de Carga">
258
- <div style={{
259
- background: '#fff',
260
- padding: '1.5rem',
261
- borderRadius: '8px',
262
- border: '1px solid #ddd',
263
- marginBottom: '1rem'
264
- }}>
265
- <div style={{ display: 'flex', gap: '1rem', flexWrap: 'wrap', marginBottom: '1rem' }}>
266
- <Button
267
- label="Simulate Loading"
268
- variant="primary"
269
- loading={loading}
270
- action={simulateLoading}
271
- />
272
- <Button
273
- label="Always Loading"
274
- variant="secondary"
275
- loading={true}
276
- action={() => {}}
277
- />
278
- </div>
279
- <p style={{ fontSize: '0.875rem', color: '#666', margin: '0' }}>
280
- Los botones en estado de carga muestran un spinner y se deshabilitan automáticamente.
281
- </p>
282
- </div>
283
-
284
- <CodeSnippet
285
- title="Código de Estados de Carga"
286
- code={`const [loading, setLoading] = useState(false)
287
-
288
- const simulateLoading = () => {
289
- setLoading(true)
290
- setTimeout(() => setLoading(false), 3000)
291
- }
292
-
293
- <Button
294
- label="Simulate Loading"
295
- variant="primary"
296
- loading={loading}
297
- action={simulateLoading}
298
- />`}
299
- />
300
- </ExampleSubsection>
301
-
302
- <ExampleSubsection id="disabled-state" title="Estado Deshabilitado">
303
- <div style={{
304
- background: '#fff',
305
- padding: '1.5rem',
306
- borderRadius: '8px',
307
- border: '1px solid #ddd',
308
- marginBottom: '1rem'
309
- }}>
310
- <div style={{ display: 'flex', gap: '1rem', flexWrap: 'wrap', marginBottom: '1rem' }}>
311
- <Button
312
- label="Toggle Disabled"
313
- variant="primary"
314
- action={() => setDisabled(!disabled)}
315
- />
316
- <Button
317
- label="Disabled Button"
318
- variant="secondary"
319
- disabled={disabled}
320
- action={() => handleClick('Disabled')}
321
- />
322
- </div>
323
- <p style={{ fontSize: '0.875rem', color: '#666', margin: '0' }}>
324
- Estado actual: {disabled ? 'Deshabilitado' : 'Habilitado'}
325
- </p>
326
- </div>
327
-
328
- <CodeSnippet
329
- title="Código de Estados Deshabilitados"
330
- code={`const [disabled, setDisabled] = useState(false)
331
-
332
- <Button
333
- label="Toggle Disabled"
334
- variant="primary"
335
- action={() => setDisabled(!disabled)}
336
- />
337
-
338
- <Button
339
- label="Disabled Button"
340
- variant="secondary"
341
- disabled={disabled}
342
- action={() => handleClick('Disabled')}
343
- />`}
344
- />
345
- </ExampleSubsection>
346
- </ExampleSection>
347
-
348
- <ExampleSection id="api-reference" title="Referencia API" icon="code">
349
- <div style={{
350
- background: '#fff',
351
- padding: '1.5rem',
352
- borderRadius: '8px',
353
- border: '1px solid #ddd'
354
- }}>
355
- <h4>Props del componente Button:</h4>
356
- <table style={{ width: '100%', borderCollapse: 'collapse', fontSize: '0.875rem' }}>
357
- <thead>
358
- <tr style={{ background: '#f8f9fa' }}>
359
- <th style={{ padding: '0.5rem', border: '1px solid #ddd', textAlign: 'left' }}>Prop</th>
360
- <th style={{ padding: '0.5rem', border: '1px solid #ddd', textAlign: 'left' }}>Tipo</th>
361
- <th style={{ padding: '0.5rem', border: '1px solid #ddd', textAlign: 'left' }}>Default</th>
362
- <th style={{ padding: '0.5rem', border: '1px solid #ddd', textAlign: 'left' }}>Descripción</th>
363
- </tr>
364
- </thead>
365
- <tbody>
366
- <tr>
367
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}><code>label</code></td>
368
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}>string</td>
369
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}>-</td>
370
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}>Texto del botón</td>
371
- </tr>
372
- <tr>
373
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}><code>variant</code></td>
374
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}>string</td>
375
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}>primary</td>
376
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}>Variante: primary, secondary, text</td>
377
- </tr>
378
- <tr>
379
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}><code>size</code></td>
380
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}>string</td>
381
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}>medium</td>
382
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}>Tamaño: small, medium, large</td>
383
- </tr>
384
- <tr>
385
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}><code>icon</code></td>
386
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}>string</td>
387
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}>-</td>
388
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}>Icono Material Design</td>
389
- </tr>
390
- <tr>
391
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}><code>loading</code></td>
392
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}>boolean</td>
393
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}>false</td>
394
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}>Muestra spinner de carga</td>
395
- </tr>
396
- <tr>
397
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}><code>disabled</code></td>
398
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}>boolean</td>
399
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}>false</td>
400
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}>Deshabilita el botón</td>
401
- </tr>
402
- <tr>
403
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}><code>action</code></td>
404
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}>function</td>
405
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}>-</td>
406
- <td style={{ padding: '0.5rem', border: '1px solid #ddd' }}>Función a ejecutar al hacer click</td>
407
- </tr>
408
- </tbody>
409
- </table>
410
- </div>
411
- </ExampleSection>
412
- </ExampleLayout>
413
- )
414
- }
415
-
416
- export default ButtonExamples