import React, { type MouseEventHandler, type ReactNode } from 'react'; import { classNames } from '../../utils'; import styles from './DeprecatedPreview.module.css'; import commonStyles from '../../theme/common.module.css'; export type DeprecatedPreviewProps = { /** * className for the element */ className?: string; /** * Specifies the width of the element * @default parent */ fit?: 'parent'; /** * The text to display in the preview */ primaryText: ReactNode; /** * The secondary text to display in the preview */ secondaryText?: ReactNode; /** * Right addon of the preview */ rightAddon?: ReactNode; /** * Handler that is called when the preview is clicked */ onClick?: MouseEventHandler; }; export const DeprecatedPreview = ({ className, primaryText, rightAddon, secondaryText, onClick, ...rest }: DeprecatedPreviewProps) => { return ( ); };