mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
17 lines
572 B
TypeScript
17 lines
572 B
TypeScript
import {Sticky, StickyContainer} from "react-sticky";
|
|
import * as React from "react";
|
|
|
|
const StickyAllOptions: JSX.Element =
|
|
<StickyContainer className="sticky-container">
|
|
<Sticky isActive={true} className="sticky" style={{}} stickyClassName="sticky" stickyStyle={{}} topOffset={0} bottomOffset={0} onStickyStateChange={(isSticky: boolean): void => undefined}>
|
|
<div/>
|
|
</Sticky>
|
|
</StickyContainer>;
|
|
|
|
const StickyNoOptions: JSX.Element =
|
|
<StickyContainer>
|
|
<Sticky>
|
|
<div/>
|
|
</Sticky>
|
|
</StickyContainer>;
|