UNPKG

@lobehub/ui

Version:

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

32 lines (31 loc) 950 B
import type { ImageProps } from 'antd'; import type { CSSProperties, ReactNode, Ref } from 'react'; import type { FlexboxProps } from 'react-layout-kit'; import type { ActionIconProps } from "../ActionIcon"; import type { ImgProps } from "../types"; export interface GuideCardProps extends Omit<FlexboxProps, 'title'> { afterClose?: () => void; alt?: string; classNames?: { content?: string; cover?: string; }; closable?: boolean; closeIconProps?: Omit<ActionIconProps, 'icon' | 'onClick'>; cover?: string; coverProps?: ImgProps & ImageProps & { priority?: boolean; }; desc?: ReactNode; height?: number; onClose?: ActionIconProps['onClick']; ref?: Ref<HTMLDivElement>; shadow?: boolean; styles?: { content?: CSSProperties; cover?: CSSProperties; }; title?: ReactNode; variant?: 'filled' | 'outlined' | 'borderless'; width?: number; }