demetrius-mp / prop-mirroring-showcase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

prop mirroring

open Input.svelte.

The downside is you have to declare the props exported with export let again on the $$Props.

also, notice that since my $$Props extends from the input element, i use the $$restProps variable on the input component.

Open sign in route file. before trying to add a prop, press ctrl + space to show hints. it will hint everything defined under $$Props, plus the mirrored props from the input element.

About


Languages

Language:TypeScript 52.2%Language:Svelte 34.5%Language:JavaScript 10.6%Language:HTML 1.9%Language:CSS 0.8%