Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
5 changes: 5 additions & 0 deletions .changeset/fuzzy-carrots-tease.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@sovryn/ui": patch
---

SOV-931: match figma for VerticalTabs menu labels
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { FC } from 'react';

import classNames from 'classnames';

import { Paragraph, ParagraphSize } from '../../../1_atoms';
import { Heading, HeadingType, Paragraph } from '../../../1_atoms';
import { applyDataAttr } from '../../../utils';
import { VerticalTabsItemButtonProps } from '../VerticalTabs.types';
import styles from './VerticalTabItem.module.css';
Expand All @@ -23,7 +23,7 @@ export const VerticalTabItem: FC<VerticalTabsItemButtonProps> = ({
data-active={active}
onClick={onClick}
>
<Paragraph size={ParagraphSize.base}>{label}</Paragraph>
<Heading type={HeadingType.h2}>{label}</Heading>
{infoText && <Paragraph className={styles.info}>{infoText}</Paragraph>}
</button>
);
Expand Down