DefinitelyTyped/types/react-div-100vh/react-div-100vh-tests.tsx
t-moennich 10d1d6b990 Add types for react-div-100vh (#39256)
* Add types for react-div-100vh

* Update author profile link

* Add lower typescript version

* Use an up-to-date typescript version

* Remove moduleResolution default value
2019-10-22 14:14:55 -07:00

12 lines
250 B
TypeScript

import * as React from "react";
import Div100vh from "react-div-100vh";
export const _ = () => <>
<Div100vh className="class">
<div>Some content</div>
</Div100vh>
<Div100vh as="p">
<span>Child</span>
</Div100vh>
</>;