From cc1eafb0a50a543858b3d3340b18ee7006ff8668 Mon Sep 17 00:00:00 2001 From: ak Date: Fri, 21 Feb 2020 17:07:52 +0100 Subject: [PATCH] added missing export of useLayer --- packages/layers/src/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/layers/src/index.tsx b/packages/layers/src/index.tsx index 7d5cc9fe0..2b06a5ed8 100644 --- a/packages/layers/src/index.tsx +++ b/packages/layers/src/index.tsx @@ -3,6 +3,7 @@ import { LayerContextProvider } from "./layers/LayerContextProvider"; import { LayerManagerProvider } from "./manager/LayerManagerProvider"; import { ROOT_NODE } from "@craftjs/utils"; import { LayerOptions } from "./interfaces"; +export { useLayer } from "./layers"; export const Layers: React.FC> = ({ ...options }) => { return (