mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-10 22:44:43 +08:00
Added test for prop
This commit is contained in:
@@ -14,5 +14,9 @@ const TruncateTest: React.SFC = _ => (
|
||||
<Truncate lines={false} ellipsis={<span>Read more</span>} id="identifier">
|
||||
<div>Test string</div>
|
||||
</Truncate>
|
||||
|
||||
<Truncate trimWhitespace={true}>
|
||||
<div>Test string</div>
|
||||
</Truncate>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user