1.4.5 • Published 6 months ago
@types/react-show-more-text v1.4.5
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.
index.d.ts
// Type definitions for react-show-more-text 1.4
// Project: https://github.com/devzonetech/react-show-more-text
// Definitions by: Ewe Seong, Yeoh <https://github.com/eweseong>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
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: Wed, 06 Oct 2021 15:01:18 GMT
- Dependencies: @types/react
- Global values: none
Credits
These definitions were written by Ewe Seong, and Yeoh.