import { RecoilURLSync, RecoilURLSyncOptions } from 'recoil-sync' import { useSyncURLNext } from './useSyncURLNext' type Props = Omit export type Serialize = (data: unknown) => string export type Deserialize = (str: string) => unknown export const RecoilURLSyncNext: React.FC = ({ children, ...options }) => { const { browserInterface, ...defaultOptions } = useSyncURLNext() return ( {children} ) }