Update src/TextInput/TextInput.svelte

Explicitly define default value for `size`

Co-authored-by: Enrico Sacchetti <esacchetti@gmail.com>
This commit is contained in:
Sam 2024-01-16 18:58:12 +11:00 committed by GitHub
commit 8cf5e3a6a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,7 +71,7 @@
* Set the size of the input * Set the size of the input
* @type {"sm" | "md" | "lg"} * @type {"sm" | "md" | "lg"}
*/ */
export let size = undefined; export let size = 'md';
/** /**
* Specify the input value * Specify the input value