Skip to content

Commit

Permalink
fix(types): fix missing width type for input
Browse files Browse the repository at this point in the history
  • Loading branch information
Birkbjo committed Nov 28, 2024
1 parent 4e245fb commit d42009d
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 d42009d

Please sign in to comment.