Installation
npm install --save @types/react-show-more-text
Summary
This package contains type definitions for react-show-more-text (https://github.com/devzonetech/react-show-more-text).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-show-more-text.
import * as React from "react";
export interface ReactShowMoreTextProps {
anchorClass?: string | undefined;
children?: React.ReactNode | undefined;
className?: string | undefined;
expanded?: boolean | undefined;
keepNewLines?: boolean | undefined;
less?: React.ReactNode | undefined;
lines?: number | undefined;
more?: React.ReactNode | undefined;
onClick?: ((expanded: boolean) => void) | undefined;
width?: number | undefined;
truncatedEndingComponent?: React.ReactNode | undefined;
}
export class ReactShowMoreText extends React.Component<ReactShowMoreTextProps> {}
export default ReactShowMoreText;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/react
Credits
These definitions were written by Ewe Seong, and Yeoh.