mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 06:50:19 +00: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