Skip to content

Commit

Permalink
fix(Dialog): Add displayName for dialog footer and content (#28939)
Browse files Browse the repository at this point in the history
* add displayName for dialog footer and content

* yarn change

* Update change/@fluentui-react-e393acc7-f1bd-4632-9c6d-359924839807.json

Co-authored-by: Esteban Munoz Facusse <esteban.230@hotmail.com>

---------

Co-authored-by: Mingyuan Yu <mingyuanyu@microsoft.com>
Co-authored-by: Esteban Munoz Facusse <esteban.230@hotmail.com>
  • Loading branch information
3 people authored Aug 24, 2023
1 parent 7f699be commit 0dfca34
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "fix: Add displayName to dialog footer and content",
"packageName": "@fluentui/react",
"email": "mingyuanyu@microsoft.com",
"dependentChangeType": "patch"
}
2 changes: 2 additions & 0 deletions packages/react/src/components/Dialog/DialogContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ export const DialogContent: React.FunctionComponent<IDialogContentProps> = style
IDialogContentStyleProps,
IDialogContentStyles
>(DialogContentBase, getStyles, undefined, { scope: 'DialogContent' });

DialogContent.displayName = 'DialogContent';
2 changes: 2 additions & 0 deletions packages/react/src/components/Dialog/DialogFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ export const DialogFooter: React.FunctionComponent<IDialogFooterProps> = styled<
IDialogFooterStyleProps,
IDialogFooterStyles
>(DialogFooterBase, getStyles, undefined, { scope: 'DialogFooter' });

DialogFooter.displayName = 'DialogFooter';

0 comments on commit 0dfca34

Please sign in to comment.