rsc-superjson
Version:
A superjson wrapper for React Server Components (RSC) and Next.js
8 lines • 449 B
JavaScript
"use client";
import { jsx as _jsx } from "react/jsx-runtime";
import { withSuperJsonDeserializedProps } from "./superjson-deserialize";
export default function SuperJSONComponent({ component, props, children, }) {
const WithSuperJsonDeserializedProps = withSuperJsonDeserializedProps(component);
return _jsx(WithSuperJsonDeserializedProps, Object.assign({}, props, { children: children }));
}
//# sourceMappingURL=superjson-component.js.map