Skip to content

Commit

Permalink
fix(types): fix missing width type for input (#1644)
Browse files Browse the repository at this point in the history
  • Loading branch information
Birkbjo authored Dec 2, 2024
1 parent 4e245fb commit 15fa0f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/input/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)`
*/
Expand Down

0 comments on commit 15fa0f9

Please sign in to comment.