UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

1 lines 899 B
{"version":3,"file":"index.mjs","names":["Cards: FC<CardsProps>","Grid"],"sources":["../../../src/mdx/Cards/index.tsx"],"sourcesContent":["'use client';\n\nimport { cx } from 'antd-style';\nimport type { FC } from 'react';\n\nimport Grid, { type GridProps } from '@/Grid';\n\nimport { styles } from './style';\n\nexport type CardsProps = GridProps;\n\nconst Cards: FC<CardsProps> = ({ children, className, maxItemWidth = 250, rows = 3, ...rest }) => {\n return (\n <Grid\n className={cx(styles.container, className)}\n maxItemWidth={maxItemWidth}\n rows={rows}\n {...rest}\n >\n {children}\n </Grid>\n );\n};\n\nCards.displayName = 'MdxCards';\n\nexport default Cards;\n"],"mappings":";;;;;;;;AAWA,MAAMA,SAAyB,EAAE,UAAU,WAAW,eAAe,KAAK,OAAO,GAAG,GAAG,WAAW;AAChG,QACE,oBAACC;EACC,WAAW,GAAG,OAAO,WAAW,UAAU;EAC5B;EACR;EACN,GAAI;EAEH;GACI;;AAIX,MAAM,cAAc;AAEpB,oBAAe"}