UNPKG

@lobehub/ui

Version:

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

25 lines • 750 B
import { DivProps } from "../../types/index.mjs"; import { IconProps } from "../../Icon/type.mjs"; import "../../Icon/index.mjs"; import { LandingLinkRender } from "../landingLink.mjs"; import { ReactNode } from "react"; //#region src/awesome/FeatureGrid/type.d.ts interface FeatureGridItem { description: ReactNode; /** Makes the whole card a link. */ href?: string; icon?: IconProps['icon']; title: ReactNode; } interface FeatureGridProps extends DivProps { /** * Columns on wide screens. The grid collapses to one column on phones. * @default 3 */ columns?: number; items: FeatureGridItem[]; renderLink?: LandingLinkRender; } //#endregion export { FeatureGridItem, FeatureGridProps }; //# sourceMappingURL=type.d.mts.map