Skip to content

Commit

Permalink
feat(Dialog): adds ReactNode as type for texts (#2294)
Browse files Browse the repository at this point in the history
  • Loading branch information
langz authored and tujoworker committed May 31, 2023
1 parent b0eac3e commit a2ff4ec
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 a2ff4ec

Please sign in to comment.