mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix(text-area): type value
prop as nullable (#1933)
This commit is contained in:
parent
d73fe168f2
commit
47860ce1d7
4 changed files with 9 additions and 6 deletions
4
types/TextArea/TextArea.svelte.d.ts
vendored
4
types/TextArea/TextArea.svelte.d.ts
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue