diff options
Diffstat (limited to 'packages/ui/src/context/code.tsx')
| -rw-r--r-- | packages/ui/src/context/code.tsx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/packages/ui/src/context/code.tsx b/packages/ui/src/context/code.tsx deleted file mode 100644 index 3a2511527..000000000 --- a/packages/ui/src/context/code.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import type { ValidComponent } from "solid-js" -import { createSimpleContext } from "./helper" - -const ctx = createSimpleContext<ValidComponent, { component: ValidComponent }>({ - name: "CodeComponent", - init: (props) => props.component, -}) - -export const CodeComponentProvider = ctx.provider -export const useCodeComponent = ctx.use |
