We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
titleText
1 parent 4c393db commit 572464bCopy full SHA for 572464b
packages/main/src/components/FormGroup/index.tsx
@@ -10,7 +10,7 @@ export interface FormGroupPropTypes {
10
/**
11
* Title of the FormGroup.
12
*/
13
- titleText: string;
+ titleText?: string;
14
15
* Content of the FormGroup.
16
*
@@ -47,7 +47,11 @@ const FormGroup = (props: FormGroupPropTypes) => {
47
<>
48
<FormGroupTitle
49
titleText={titleText}
50
- style={{ gridColumnStart: columnIndex * 12 + 1, gridRowStart: labelSpan === 12 ? rowIndex - 1 : rowIndex }}
+ style={{
51
+ display: titleText ? 'unset' : 'none',
52
+ gridColumnStart: columnIndex * 12 + 1,
53
+ gridRowStart: labelSpan === 12 ? rowIndex - 1 : rowIndex
54
+ }}
55
/>
56
{children}
57
</>
0 commit comments