From d42009dd9375f44f52879442e8d013628711e42f Mon Sep 17 00:00:00 2001 From: Birk Johansson Date: Thu, 28 Nov 2024 16:46:32 +0100 Subject: [PATCH] fix(types): fix missing width type for input --- components/input/types/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/input/types/index.d.ts b/components/input/types/index.d.ts index ed135286b..ac2489360 100644 --- a/components/input/types/index.d.ts +++ b/components/input/types/index.d.ts @@ -115,6 +115,10 @@ export interface InputProps { * Applies 'warning' appearance for validation feedback. Mutually exclusive with `valid` and `error` props */ warning?: boolean + /** + * Defines the width of the input. Can be any valid CSS measurement + */ + width?: string /** * Called with signature `({ name: string, value: string }, event)` */