mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* 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
12 lines
250 B
TypeScript
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>
|
|
</>;
|