Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "add displayName to dialog footer and content",
Comment thread
ymyqwe marked this conversation as resolved.
Outdated
"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';