Skip to content

Commit

Permalink
change MenuSection heading to 'h3' by default
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnC-80 committed Dec 20, 2024
1 parent 4359e2b commit cec3f8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MenuSection/MenuSection.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import uniqueId from 'lodash/uniqueId';
import css from './MenuSection.css';
import Headline from '../Headline';

const MenuSection = ({ className, children, id, label, labelTag = 'h1', ...rest }) => {
const MenuSection = ({ className, children, id, label, labelTag = 'h3', ...rest }) => {
const sectionId = id || uniqueId('menu-section-');
return (
<section
Expand Down

0 comments on commit cec3f8f

Please sign in to comment.