Skip to content

Commit

Permalink
fix: explicit type exports in @visx/responsive (#1809)
Browse files Browse the repository at this point in the history
  • Loading branch information
paolostyle committed Mar 9, 2024
1 parent 1bb1d1a commit e0d11b7
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions packages/visx-responsive/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
export { default as ParentSize } from './components/ParentSize';
export { default as ScaleSVG } from './components/ScaleSVG';
export { default as withParentSize, WithParentSizeProvidedProps } from './enhancers/withParentSize';
export { default as withScreenSize, WithScreenSizeProvidedProps } from './enhancers/withScreenSize';
export { default as useParentSize, UseParentSizeConfig } from './hooks/useParentSize';
export { default as useScreenSize, UseScreenSizeConfig } from './hooks/useScreenSize';
export { default as withParentSize } from './enhancers/withParentSize';
export type { WithParentSizeProvidedProps } from './enhancers/withParentSize';
export { default as withScreenSize } from './enhancers/withScreenSize';
export type { WithScreenSizeProvidedProps } from './enhancers/withScreenSize';
export { default as useParentSize } from './hooks/useParentSize';
export type { UseParentSizeConfig } from './hooks/useParentSize';
export { default as useScreenSize } from './hooks/useScreenSize';
export type { UseScreenSizeConfig } from './hooks/useScreenSize';

0 comments on commit e0d11b7

Please sign in to comment.