// Type definitions for react-truncate 2.3 // Project: https://github.com/One-com/react-truncate // Definitions by: Matt Perry // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 import * as React from 'react'; export interface TruncateProps extends React.HTMLProps { lines?: number | false; ellipsis?: React.ReactNode; trimWhitespace?: boolean; onTruncate?(isTruncated: boolean): void; } declare class Truncate extends React.Component { } export default Truncate;