fix(text-area): type value prop as nullable (#1933)

This commit is contained in:
Wolfgang Rathgeb 2024-08-09 14:55:30 +02:00 committed by GitHub
commit 47860ce1d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 9 additions and 6 deletions

View file

@ -5,10 +5,10 @@ type RestProps = SvelteHTMLElements["textarea"];
export interface TextAreaProps extends RestProps {
/**
* Specify the textarea value
* Specify the textarea value.
* @default ""
*/
value?: string;
value?: null | string;
/**
* Specify the placeholder text