import { JSX, PropsWithChildren } from 'react'; import { createGenericContext } from './createGenericContext'; import { UseFigmaHook, useFigma } from './useFigma'; const [useFigmaContext, StateContextProvider] = createGenericContext(); const FigmaProvider = ({ children }: PropsWithChildren): JSX.Element => { const hook = useFigma(); return {children}; }; export { FigmaProvider, useFigmaContext };