@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
28 lines (27 loc) • 843 B
TypeScript
import type { CSSProperties } from 'react';
import type { IconProps } from "../../Icon";
import type { SpotlightCardProps } from "../SpotlightCard";
import type { DivProps } from "../../types";
export interface FeatureItemType {
column?: number;
description?: string;
hero?: boolean;
icon?: IconProps['icon'];
image?: string;
imageStyle?: CSSProperties;
imageType?: 'light' | 'primary' | 'soon';
link?: string;
openExternal?: boolean;
row?: number;
title: string;
}
export interface FeatureItemProps extends FeatureItemType, Omit<DivProps, 'title'> {
}
export interface FeaturesProps extends DivProps {
columns?: SpotlightCardProps['columns'];
gap?: SpotlightCardProps['gap'];
itemClassName?: string;
itemStyle?: CSSProperties;
items: FeatureItemType[];
maxWidth?: number;
}