1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-09 08:42:50 +03:00

Device manager - add settings subsection heading component (#9387)

* add settings subsection heading component

* use named export

* newline
This commit is contained in:
Kerry
2022-10-11 20:12:02 +02:00
committed by GitHub
parent 51d5005efa
commit 03182d03be
10 changed files with 211 additions and 52 deletions

View File

@@ -120,11 +120,15 @@ exports[`<CurrentDeviceSection /> handles when device is falsy 1`] = `
class="mx_SettingsSubsection"
data-testid="current-session-section"
>
<h3
class="mx_Heading_h3 mx_SettingsSubsection_heading"
<div
class="mx_SettingsSubsectionHeading"
>
Current session
</h3>
<h3
class="mx_Heading_h3 mx_SettingsSubsectionHeading_heading"
>
Current session
</h3>
</div>
<div
class="mx_SettingsSubsection_content"
/>
@@ -138,11 +142,15 @@ exports[`<CurrentDeviceSection /> renders device and correct security card when
class="mx_SettingsSubsection"
data-testid="current-session-section"
>
<h3
class="mx_Heading_h3 mx_SettingsSubsection_heading"
<div
class="mx_SettingsSubsectionHeading"
>
Current session
</h3>
<h3
class="mx_Heading_h3 mx_SettingsSubsectionHeading_heading"
>
Current session
</h3>
</div>
<div
class="mx_SettingsSubsection_content"
>
@@ -258,11 +266,15 @@ exports[`<CurrentDeviceSection /> renders device and correct security card when
class="mx_SettingsSubsection"
data-testid="current-session-section"
>
<h3
class="mx_Heading_h3 mx_SettingsSubsection_heading"
<div
class="mx_SettingsSubsectionHeading"
>
Current session
</h3>
<h3
class="mx_Heading_h3 mx_SettingsSubsectionHeading_heading"
>
Current session
</h3>
</div>
<div
class="mx_SettingsSubsection_content"
>

View File

@@ -6,11 +6,15 @@ exports[`<SecurityRecommendations /> renders both cards when user has both unver
class="mx_SettingsSubsection"
data-testid="security-recommendations-section"
>
<h3
class="mx_Heading_h3 mx_SettingsSubsection_heading"
<div
class="mx_SettingsSubsectionHeading"
>
Security recommendations
</h3>
<h3
class="mx_Heading_h3 mx_SettingsSubsectionHeading_heading"
>
Security recommendations
</h3>
</div>
<div
class="mx_SettingsSubsection_description"
>
@@ -109,11 +113,15 @@ exports[`<SecurityRecommendations /> renders inactive devices section when user
class="mx_SettingsSubsection"
data-testid="security-recommendations-section"
>
<h3
class="mx_Heading_h3 mx_SettingsSubsection_heading"
<div
class="mx_SettingsSubsectionHeading"
>
Security recommendations
</h3>
<h3
class="mx_Heading_h3 mx_SettingsSubsectionHeading_heading"
>
Security recommendations
</h3>
</div>
<div
class="mx_SettingsSubsection_description"
>
@@ -212,11 +220,15 @@ exports[`<SecurityRecommendations /> renders unverified devices section when use
class="mx_SettingsSubsection"
data-testid="security-recommendations-section"
>
<h3
class="mx_Heading_h3 mx_SettingsSubsection_heading"
<div
class="mx_SettingsSubsectionHeading"
>
Security recommendations
</h3>
<h3
class="mx_Heading_h3 mx_SettingsSubsectionHeading_heading"
>
Security recommendations
</h3>
</div>
<div
class="mx_SettingsSubsection_description"
>