Skip to content

Commit

Permalink
fix exports
Browse files Browse the repository at this point in the history
  • Loading branch information
KenanYusuf committed Jan 22, 2024
1 parent 59a0cba commit 4ae7c65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
8 changes: 3 additions & 5 deletions packages/victory-create-container/src/create-container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const combineDefaultEvents = (defaultEvents: any[]) => {
return events.filter(Boolean);
};

const combineContainerMixins = (
export const combineContainerMixins = (
mixins: MixinFunction[],
Container: React.ComponentType<any>,
) => {
Expand Down Expand Up @@ -138,7 +138,7 @@ const checkBehaviorName = (
}
};

const makeCreateContainerFunction =
export const makeCreateContainerFunction =
(
mixinMap: Record<ContainerType, MixinFunction[]>,
Container: React.ComponentType<any>,
Expand Down Expand Up @@ -169,7 +169,7 @@ const makeCreateContainerFunction =
return combineContainerMixins([...firstMixins, ...secondMixins], Container);
};

const createContainer = makeCreateContainerFunction(
export const createContainer = makeCreateContainerFunction(
{
zoom: [zoomContainerMixin],
voronoi: [voronoiContainerMixin],
Expand All @@ -179,5 +179,3 @@ const createContainer = makeCreateContainerFunction(
},
VictoryContainer,
);

export { createContainer, makeCreateContainerFunction, combineContainerMixins };
6 changes: 1 addition & 5 deletions packages/victory-create-container/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
export {
combineContainerMixins,
makeCreateContainerFunction,
createContainer,
} from "./create-container";
export * from "./create-container";

0 comments on commit 4ae7c65

Please sign in to comment.