Skip to content

Commit

Permalink
Update Dialog "title" prop type in declaration file (#1012)
Browse files Browse the repository at this point in the history
* Update Dialog title prop in declaration file

* Update index.d.ts

Co-authored-by: Allen Kleiner <[email protected]>
  • Loading branch information
williamgrosset and akleiner2 committed Sep 14, 2020
1 parent a0293e2 commit 8106a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ export interface DialogProps {
/**
* Title of the Dialog. Titles should use Title Case.
*/
title?: string
title?: React.ReactNode
/**
* When true, the header with the title and close icon button is shown.
* Defaults to true.
Expand Down

0 comments on commit 8106a92

Please sign in to comment.