UNPKG

@svelkit/baseline

Version:

> A baseline component to kickstart an elegant, consistent, and simple baseline to build upon.

57 lines (46 loc) 1.28 kB
import { SvelteComponentDev, init, safe_not_equal, dispatch_dev, validate_slots, noop } from 'svelte/internal'; /* src/baseline.svelte generated by Svelte v3.24.0 */ function create_fragment(ctx) { const block = { c: noop, l: function claim(nodes) { throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); }, m: noop, p: noop, i: noop, o: noop, d: noop }; dispatch_dev("SvelteRegisterBlock", { block, id: create_fragment.name, type: "component", source: "", ctx }); return block; } function instance($$self, $$props) { const writable_props = []; Object.keys($$props).forEach(key => { if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(`<Baseline> was created with unknown prop '${key}'`); }); let { $$slots = {}, $$scope } = $$props; validate_slots("Baseline", $$slots, []); return []; } class Baseline extends SvelteComponentDev { constructor(options) { super(options); init(this, options, instance, create_fragment, safe_not_equal, {}); dispatch_dev("SvelteRegisterComponent", { component: this, tagName: "Baseline", options, id: create_fragment.name }); } } export default Baseline; //# sourceMappingURL=baseline.js.map