diff --git a/types/react-truncate/index.d.ts b/types/react-truncate/index.d.ts index cb97ccafe7..70cdd4b25d 100644 --- a/types/react-truncate/index.d.ts +++ b/types/react-truncate/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for react-truncate 2.1 +// 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 @@ -10,6 +10,7 @@ export interface TruncateProps extends React.HTMLProps { lines?: number | false; ellipsis?: React.ReactNode; onTruncate?(isTruncated: boolean): void; + trimWhitespace?: boolean; } declare class Truncate extends React.Component { }