Skip to content

Commit

Permalink
Add theme option to card field
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbents committed Aug 8, 2023
1 parent 1da88c5 commit 1913232
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,8 @@ export interface CardFieldOptions extends PopupOptions {
* ```
*/
classes?: FieldClasses
/** Whether to prefer dark or light theme. Defaults to light */
theme?: 'light' | 'dark'
/**
* Don't ask user for the `postcode` inside the card field.
*
Expand Down

0 comments on commit 1913232

Please sign in to comment.