mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-05 20:02:05 +08:00
Merge branch 'patch-1' of https://github.com/webaction/DefinitelyTyped into webaction-patch-1
This commit is contained in:
3
types/react-truncate/index.d.ts
vendored
3
types/react-truncate/index.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user