UNPKG

@redocly/theme

Version:

Shared UI components lib

17 lines (16 loc) 686 B
import React from 'react'; export type CardProps = React.PropsWithChildren<{ title?: string; image?: string; icon?: string; iconRawContent?: string; imagePosition?: 'start' | 'end'; iconPosition?: 'auto' | 'start' | 'center' | 'end'; lineClamp?: number; layout?: 'horizontal' | 'vertical' | 'combined'; variant?: 'filled' | 'outlined' | 'elevated' | 'ghost'; iconVariant?: 'filled' | 'ghost'; align?: 'start' | 'center' | 'end'; to?: string; }>; export declare function Card({ title, image, icon, iconRawContent, imagePosition, iconPosition, layout, variant, lineClamp, iconVariant, align, to, children, }: CardProps): React.JSX.Element;