Skip to content

Commit 49aec5e

Browse files
authored
Merge pull request #948 from skateman/carbon-subform-h3
fix(carbon): make the subform title element larger
2 parents 9a9b519 + 677c742 commit 49aec5e

File tree

2 files changed

+2
-2
lines changed
  • packages
    • carbon-component-mapper/src/files
    • react-renderer-demo/src/doc-components/examples-texts/carbon

2 files changed

+2
-2
lines changed

packages/carbon-component-mapper/src/files/sub-form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ SubForm.propTypes = {
3535
};
3636

3737
SubForm.defaultProps = {
38-
TitleElement: 'h5',
38+
TitleElement: 'h3',
3939
DescriptionElement: 'p'
4040
};
4141

packages/react-renderer-demo/src/doc-components/examples-texts/carbon/sub-form.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
|Props|Description|default|
44
|-----|-----------|-------|
5-
|TitleElement|Element wrapping title|h5|
5+
|TitleElement|Element wrapping title|h3|
66
|TitleProps|Props passed to the element wrapping title|{}|
77
|DescriptionElement|Element wrapping description|p|
88
|DescriptionProps|Props passed to the element wrapping description|{}|

0 commit comments

Comments
 (0)