Skip to content

Commit

Permalink
feat(Dialog): adds ReactNode as type for texts
Browse files Browse the repository at this point in the history
  • Loading branch information
langz committed May 8, 2023
1 parent a8f546b commit 6cba26f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ export type DialogActionProps = {
/**
* For dialog actions, give a custom text for the decline button.
*/
declineText?: string
declineText?: string | React.ReactNode

/**
* For dialog actions, give a custom text for the confirm button.
*/
confirmText?: string
confirmText?: string | React.ReactNode

/**
* For variant confirmation, handle the confirm action click.
Expand Down

0 comments on commit 6cba26f

Please sign in to comment.