test(text-input): assert value type

This commit is contained in:
Eric Liu 2022-02-02 19:05:06 -08:00
commit bf918d38ab

View file

@ -1,8 +1,15 @@
<script lang="ts">
import { TextInput, TextInputSkeleton } from "../types";
let value = null;
</script>
<TextInput labelText="User name" placeholder="Enter user name..." />
<TextInput
type="number"
labelText="User name"
placeholder="Enter user name..."
bind:value
/>
<TextInput
labelText="User name"