From c1114a0e5aeb271170ef9f22f90f9038f7b0bbe2 Mon Sep 17 00:00:00 2001 From: Wolfgang Rathgeb Date: Wed, 20 Mar 2024 09:53:23 +0100 Subject: [PATCH] shrink comment and run yarn build:doc --- COMPONENT_INDEX.md | 2 +- docs/src/COMPONENT_API.json | 4 ++-- src/TextArea/TextArea.svelte | 2 -- types/TextArea/TextArea.svelte.d.ts | 4 ++-- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index bf720d61..c4e9cf20 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -4056,7 +4056,7 @@ None. | Prop name | Required | Kind | Reactive | Type | Default value | Description | | :---------- | :------- | :--------------- | :------- | -------------------------------------------- | ------------------------------------------------ | ----------------------------------------------- | | ref | No | let | Yes | null | HTMLTextAreaElement | null | Obtain a reference to the textarea HTML element | -| value | No | let | Yes | string | "" | Specify the textarea value | +| value | No | let | Yes | null | string | "" | Specify the textarea value. | | placeholder | No | let | No | string | "" | Specify the placeholder text | | cols | No | let | No | number | 50 | Specify the number of cols | | rows | No | let | No | number | 4 | Specify the number of rows | diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json index dc16dc50..878a3fca 100644 --- a/docs/src/COMPONENT_API.json +++ b/docs/src/COMPONENT_API.json @@ -12467,8 +12467,8 @@ { "name": "value", "kind": "let", - "description": "Specify the textarea value", - "type": "string", + "description": "Specify the textarea value.", + "type": "null | string", "value": "\"\"", "isFunction": false, "isFunctionDeclaration": false, diff --git a/src/TextArea/TextArea.svelte b/src/TextArea/TextArea.svelte index d51e53fe..98a73a33 100644 --- a/src/TextArea/TextArea.svelte +++ b/src/TextArea/TextArea.svelte @@ -1,8 +1,6 @@