UNPKG

@kopexa/preview-card

Version:

Part of the Kopexa Sight Design System.

31 lines (28 loc) 1.89 kB
import * as react_jsx_runtime from 'react/jsx-runtime'; import { IconButton } from '@kopexa/button'; import { PreviewCardVariantProps } from '@kopexa/theme'; import { ComponentProps } from 'react'; type PreviewCardProps = ComponentProps<"div"> & PreviewCardVariantProps & { asChild?: boolean; }; type PreviewCardIcon = ComponentProps<"div">; declare function PreviewCardIcon(props: PreviewCardIcon): react_jsx_runtime.JSX.Element; type PreviewCardContent = ComponentProps<"div">; declare function PreviewCardContent(props: PreviewCardContent): react_jsx_runtime.JSX.Element; type PreviewCardTitleProps = ComponentProps<"p">; declare function PreviewCardTitle({ className, ...props }: PreviewCardTitleProps): react_jsx_runtime.JSX.Element; type PreviewCardDescriptionProps = ComponentProps<"p">; declare function PreviewCardDescription({ className, ...props }: PreviewCardDescriptionProps): react_jsx_runtime.JSX.Element; type PreviewCardActionProps = ComponentProps<typeof IconButton>; declare const PreviewCardAction: ({ className, onClick, ...props }: PreviewCardActionProps) => react_jsx_runtime.JSX.Element; type PreviewCardTagsProps = ComponentProps<"div">; declare function PreviewCardTags({ className, ...props }: PreviewCardTagsProps): react_jsx_runtime.JSX.Element; declare const PreviewCard: ((props: PreviewCardProps) => react_jsx_runtime.JSX.Element) & { Icon: typeof PreviewCardIcon; Content: typeof PreviewCardContent; Title: typeof PreviewCardTitle; Description: typeof PreviewCardDescription; Action: ({ className, onClick, ...props }: PreviewCardActionProps) => react_jsx_runtime.JSX.Element; Tags: typeof PreviewCardTags; }; export { PreviewCard, PreviewCardAction, type PreviewCardActionProps, PreviewCardContent, type PreviewCardDescriptionProps, PreviewCardIcon, type PreviewCardProps, type PreviewCardTagsProps, type PreviewCardTitleProps };