Skip to content

Commit

Permalink
fix: Add missing default exports
Browse files Browse the repository at this point in the history
  • Loading branch information
dnlkoch committed Mar 14, 2022
1 parent 85ac5f0 commit 644a44d
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Button/DeleteButton/DeleteButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,5 @@ export const DeleteButton: React.FC<DeleteButtonProps> = ({
{...passThroughProps}
/>;
};

export default DeleteButton;
2 changes: 2 additions & 0 deletions src/Button/ModifyButton/ModifyButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -289,3 +289,5 @@ export const ModifyButton: React.FC<ModifyButtonProps> = ({
</>;
}
};

export default ModifyButton;
2 changes: 2 additions & 0 deletions src/FeatureLabelModal/FeatureLabelModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,5 @@ export const FeatureLabelModal: React.FC<FeatureLabelModalProps> = ({
/>
</Modal>;
};

export default FeatureLabelModal;
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,5 @@ export function loadify<P>(WrappedComponent: React.ComponentType<any>) {
}
};
}

export default loadify;
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,5 @@ export function mappify<P>(WrappedComponent: React.ComponentType<P>) {
}
};
}

export default mappify;
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,5 @@ export function isVisibleComponent<P>(
}
};
}

export default isVisibleComponent;
2 changes: 2 additions & 0 deletions src/Hook/useMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ import MapContext from '../Context/MapContext/MapContext';
export const useMap = (): OlMap|null => {
return useContext(MapContext);
};

export default useMap;

0 comments on commit 644a44d

Please sign in to comment.