@@ -533,12 +533,12 @@ export interface TextAreaProps extends BaseComponentProps<TextAreaProps> {
533533 /**
534534 * Defines the number of columns in a textarea.
535535 */
536- cols ?: string | number ;
536+ cols ?: number ;
537537
538538 /**
539539 * Indicates whether the user can interact with the element.
540540 */
541- disabled ?: string | boolean ;
541+ disabled ?: boolean | 'disabled' | 'DISABLED' ;
542542
543543 /**
544544 * Indicates the form that is the owner of the element.
@@ -548,12 +548,12 @@ export interface TextAreaProps extends BaseComponentProps<TextAreaProps> {
548548 /**
549549 * Defines the maximum number of characters allowed in the element.
550550 */
551- maxLength ?: string | number ;
551+ maxLength ?: number ;
552552
553553 /**
554554 * Defines the minimum number of characters allowed in the element.
555555 */
556- minLength ?: string | number ;
556+ minLength ?: number ;
557557
558558 /**
559559 * Name of the element. For example used by the server to identify the fields in form submits.
@@ -584,7 +584,7 @@ export interface TextAreaProps extends BaseComponentProps<TextAreaProps> {
584584 /**
585585 * Defines the number of rows in a text area.
586586 */
587- rows ?: string | number ;
587+ rows ?: number ;
588588
589589 /**
590590 * Indicates whether the text should be wrapped.
@@ -599,7 +599,7 @@ export interface TextAreaProps extends BaseComponentProps<TextAreaProps> {
599599 /**
600600 * Indicates whether the element's content is editable.
601601 */
602- contentEditable ?: string | boolean ;
602+ contentEditable ?: boolean ;
603603
604604 /**
605605 * Defines the ID of a <menu> element which will serve as the element's context menu.
@@ -614,7 +614,7 @@ export interface TextAreaProps extends BaseComponentProps<TextAreaProps> {
614614 /**
615615 * Defines whether the element can be dragged.
616616 */
617- draggable ?: boolean | 'true' | 'false' ;
617+ draggable ?: boolean ;
618618
619619 /**
620620 * Prevents rendering of given element, while keeping child elements, e.g. script elements, active.
@@ -629,7 +629,7 @@ export interface TextAreaProps extends BaseComponentProps<TextAreaProps> {
629629 /**
630630 * Indicates whether spell checking is allowed for the element.
631631 */
632- spellCheck ?: boolean | 'true' | 'false' ;
632+ spellCheck ?: boolean ;
633633
634634 /**
635635 * Defines CSS styles which will override styles previously set.
@@ -639,7 +639,7 @@ export interface TextAreaProps extends BaseComponentProps<TextAreaProps> {
639639 /**
640640 * Overrides the browser's default tab order and follows the one specified instead.
641641 */
642- tabIndex ?: string | number ;
642+ tabIndex ?: number ;
643643
644644 /**
645645 * Text to be displayed in a tooltip when hovering over the element.
0 commit comments