Skip to content

Commit

Permalink
Merge pull request #543 from thebuilder/feat/remove-default-export
Browse files Browse the repository at this point in the history
  • Loading branch information
thebuilder authored Apr 20, 2022
2 parents 7b90835 + 53123cc commit 3e129ed
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import * as React from 'react';
import { InView } from './InView';
export { InView } from './InView';
export { useInView } from './useInView';
export { observe, defaultFallbackInView } from './observe';

export default InView;

type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;

export type ObserverInstanceCallback = (
Expand Down

0 comments on commit 3e129ed

Please sign in to comment.