Skip to content

Commit

Permalink
Add icon to TextInputOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
rycoll committed Aug 30, 2024
1 parent f07306d commit 2038b9a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/configuration.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,10 @@ export interface TextInputOptions extends BaseInputOptions {
* Text shown when this input has no value.
*/
placeholder?: string;
/**
* Icon shown beside the input.
*/
icon?: Icon;
}

export interface TextInput extends BaseInput<TextInputOptions> {
Expand Down

0 comments on commit 2038b9a

Please sign in to comment.