astro/packages/renderers/renderer-svelte/Wrapper.svelte.ssr.js

18 lines
590 B
JavaScript
Raw Permalink Normal View History

/* App.svelte generated by Svelte v3.38.2 */
2021-06-01 23:42:10 +00:00
import { create_ssr_component, missing_component, validate_component } from 'svelte/internal';
const App = create_ssr_component(($$result, $$props, $$bindings, slots) => {
2021-06-01 23:42:10 +00:00
const { __astro_component: Component, __astro_children, ...props } = $$props;
2021-06-01 23:42:10 +00:00
return `${validate_component(Component || missing_component, 'svelte:component').$$render(
$$result,
Object.assign(props),
{},
{
default: () => `${__astro_children ? `<astro-fragment>${__astro_children}</astro-fragment>` : ``}`,
}
)}`;
});
export default App;