Skip to content

Commit

Permalink
fix(form section): apply heading style
Browse files Browse the repository at this point in the history
  • Loading branch information
teenwolfblitzer committed Sep 27, 2023
1 parent 13408d1 commit ba6a623
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/sage-react/lib/FormSection/FormSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react';
import PropTypes from 'prop-types';
import { Grid } from '../Grid';
import { Panel } from '../Panel';
import { SageClassnames } from '../configs';

export const FormSection = ({
children,
Expand All @@ -17,7 +18,7 @@ export const FormSection = ({
<Grid.Row>
<Grid.Col size={4} small={12} large={4}>
<div className="sage-form-section__info">
<TagName className="sage-form-section__title">{title}</TagName>
<TagName className={`sage-form-section__title ${SageClassnames.TYPE.HEADING_5}`}>{title}</TagName>
{subtitle && (
<div className="sage-form-section__subtitle">{subtitle}</div>
)}
Expand Down

0 comments on commit ba6a623

Please sign in to comment.