Merge branch 'patch-1' of https://github.com/webaction/DefinitelyTyped into webaction-patch-1

This commit is contained in:
Andy Hanson
2018-02-26 11:30:56 -08:00

View File

@@ -1,4 +1,4 @@
// Type definitions for react-truncate 2.1
// Type definitions for react-truncate 2.3.0
// Project: https://github.com/One-com/react-truncate
// Definitions by: Matt Perry <https://github.com/mattvperry>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -9,6 +9,7 @@ import * as React from 'react';
export interface TruncateProps extends React.HTMLProps<Truncate> {
lines?: number | false;
ellipsis?: React.ReactNode;
trimWhitespace?: boolean;
onTruncate?(isTruncated: boolean): void;
}