Skip to content

Commit 704b5e3

Browse files
Change skip button to default button (#4124)
* button change * Change files * Duplicate change files for beta release * Update packages/react-composites CallComposite browser test snapshots --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 4d91ddb commit 704b5e3

15 files changed

Lines changed: 21 additions & 3 deletions
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "prerelease",
3+
"area": "feature",
4+
"workstream": "end of call survey",
5+
"comment": "Change skip button to default button",
6+
"packageName": "@azure/communication-react",
7+
"email": "96077406+carocao-msft@users.noreply.github.com",
8+
"dependentChangeType": "patch"
9+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "prerelease",
3+
"area": "feature",
4+
"workstream": "end of call survey",
5+
"comment": "Change skip button to default button",
6+
"packageName": "@azure/communication-react",
7+
"email": "96077406+carocao-msft@users.noreply.github.com",
8+
"dependentChangeType": "patch"
9+
}

packages/react-composites/src/composites/common/Survey.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { useLocale } from '../localization';
99
/* @conditional-compile-remove(end-of-call-survey) */
1010
import { CallSurvey, CallSurveyResponse } from '@azure/communication-calling';
1111
/* @conditional-compile-remove(end-of-call-survey) */
12-
import { Text, PrimaryButton, Stack, Theme, mergeStyles, useTheme } from '@fluentui/react';
12+
import { Text, PrimaryButton, Stack, Theme, mergeStyles, useTheme, DefaultButton } from '@fluentui/react';
1313
/* @conditional-compile-remove(end-of-call-survey) */
1414
import { SurveyContent } from './SurveyContent';
1515
/* @conditional-compile-remove(end-of-call-survey) */
@@ -139,7 +139,7 @@ export const Survey = (props: {
139139
}
140140
/>
141141
<Stack horizontal horizontalAlign="end">
142-
<PrimaryButton
142+
<DefaultButton
143143
style={{ marginTop: '1rem', marginRight: '0.5rem' }}
144144
onClick={() => {
145145
if (onSurveyClosed) {
@@ -150,7 +150,7 @@ export const Survey = (props: {
150150
}}
151151
>
152152
{strings.surveySkipButtonLabel}
153-
</PrimaryButton>
153+
</DefaultButton>
154154

155155
{showSubmitFeedbackButton && (
156156
<PrimaryButton
Loading
Loading
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)