UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

30 lines 1.32 kB
import { DescriptionConfig } from '../CardContainerLogic'; export declare const CARD_SHORT_DESCRIPTION_CSS = "SRC-short-description"; export declare const CARD_LONG_DESCRIPTION_CSS = "SRC-long-description"; export declare const getCutoff: (summary: string, charCountCutoff: number) => { previewText: string; }; export declare function LongDescription(props: { description: string; hasClickedShowMore: boolean; descriptionSubTitle: string; descriptionConfig?: DescriptionConfig; toggleShowMore?: () => void; charCountCutoff?: number; }): import("react/jsx-runtime").JSX.Element; export declare function ShortDescription(props: { description: string; hasClickedShowMore: boolean; descriptionSubTitle: string; descriptionConfig?: DescriptionConfig; toggleShowMore: () => void; charCountCutoff?: number; }): import("react/jsx-runtime").JSX.Element; export type CollapsibleDescriptionProps = { description?: string; descriptionConfig?: DescriptionConfig; descriptionSubTitle: string; charCountCutoff?: number; }; export declare function CollapsibleDescription({ description, descriptionSubTitle, descriptionConfig, charCountCutoff, }: CollapsibleDescriptionProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=CollapsibleDescription.d.ts.map