1
+ /* eslint-disable max-len */
1
2
/* eslint-disable max-lines */
2
3
import type { ButtonProps } from '@components/Button/button'
3
4
@@ -8,6 +9,7 @@ import SvelteBox from '@static/Box.svelte'
8
9
import ReactAlert from '@components/Alert/Alert.tsx'
9
10
import ReactBox from '@static/Box.tsx'
10
11
12
+ import alertIcon from './icons/alert.svg?raw'
11
13
import successIcon from './icons/circle-check.svg?raw'
12
14
import componentsIcon from './icons/components.svg?raw'
13
15
import fileIcon from './icons/file.svg?raw'
@@ -402,3 +404,22 @@ export const stepperWithIcons = [
402
404
{ title : 'Configure' , subTitle : 'Preferences' , active : true , icon : gitHubIcon } ,
403
405
{ title : 'Finish' , subTitle : 'Final steps' }
404
406
]
407
+
408
+ export const gridWithIconsItems = [ {
409
+ icon : componentsIcon ,
410
+ title : 'Grid with Icons' ,
411
+ text : 'Use the <code>GridWithIcons</code> block to organize your list into a grid with icons to enhance clarity and visual appeal.'
412
+ } , {
413
+ icon : alertIcon ,
414
+ title : 'Configurable' ,
415
+ text : 'You can create as many items as necessary with icons and an optional title. You can also configure the number of columns.'
416
+ } , {
417
+ icon : successIcon ,
418
+ title : 'Supports formatting' ,
419
+ text : 'The <code>text</code> prop also supports formatting through <b>HTML</b> tags to help you customize the appearance of the element.'
420
+ } , {
421
+ title : 'Graceful degradation' ,
422
+ text : 'If the <code>items</code> prop is not defined, nothing will be rendered. Grid items can be rendered without icons or titles too.'
423
+ } , {
424
+ text : 'This last item is created without an icon or title, meaning you can also use this block to create simple text in a grid layout.'
425
+ } ]
0 commit comments