Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions types/react-sticky/react-sticky-tests.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from "react";
import { Sticky, StickyContainer } from "react-sticky";

const StickyAllOptions: JSX.Element = (
const StickyAllOptions: React.JSX.Element = (
<StickyContainer className="sticky-container">
<Sticky
relative
Expand All @@ -20,7 +20,7 @@ const StickyAllOptions: JSX.Element = (
</StickyContainer>
);

const StickyNoOptions: JSX.Element = (
const StickyNoOptions: React.JSX.Element = (
<StickyContainer>
<Sticky>{({ style }) => <div style={style} />}</Sticky>
</StickyContainer>
Expand Down