budibase/packages/materialdesign-components/src/Common/FloatingLabel.svelte

8 lines
194 B
Svelte

<script>
import "@material/floating-label/mdc-floating-label.scss"
export let forInput = ""
export let text = ""
</script>
<label for={forInput} class="mdc-floating-label">{text}</label>