'use client';
import { Buttons } from './Buttons';
import { FormContext, FormContextProvider } from './context/form-context';
import { Elements } from './Elements';
import { Files } from './Files';
import { Header } from './Header';
import { Overlay } from './Overlay';
import type { Props } from './types';
import { createUrl } from '@/utils/url';
import { Background, Divider } from '@repo/ui';
import type { FC } from 'react';
import { useContext } from 'react';
function Content(props: Props) {
const { title } = props;
const { pageUrlParams } = useContext(FormContext);
return (
);
}
function withContext(Component: FC) {
return (props: T) => {
const { pageUrlParams } = props;
return (
);
};
}
export const Form = withContext(Content);