mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
18 lines
476 B
TypeScript
18 lines
476 B
TypeScript
import Collapsible from "react-collapsible";
|
|
import * as React from "react";
|
|
|
|
const Component = (
|
|
<div>
|
|
<Collapsible trigger="Start here">
|
|
<p>
|
|
This is the collapsible content. It can be any element or React
|
|
component you like.
|
|
</p>
|
|
<p>
|
|
It can even be another Collapsible component. Check out the next
|
|
section!
|
|
</p>
|
|
</Collapsible>
|
|
</div>
|
|
);
|