Props - svelte

Access passed props in component

# The $$props variable
console.log($$props);
        

Set props programmatically on load

// this is an interesting way to catch any and all props; its not very explicit so im not sure how i feel about it unless i absolutely need
$: {
    ({ component, ...props } = $$props);
    try { content.set(props) } catch {}
}