Skip to content

Commit 2b17f71

Browse files
authored
fix: display description on subsequence (#1162)
1 parent 7546904 commit 2b17f71

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/Subsequence/Subsequence.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
import { Declarations } from '../shared/Declarations/Declarations';
21
import type { LunaticComponentProps } from '../type';
2+
import { Declarations } from '../shared/Declarations/Declarations';
33
import { slottableComponent } from '../shared/HOC/slottableComponent';
4+
import { LabelDescription } from '../shared/LabelDescription';
45

56
function LunaticSubsequence({
67
id,
78
label,
9+
description,
810
declarations,
911
}: LunaticComponentProps<'Subsequence'>) {
1012
return (
@@ -16,6 +18,7 @@ function LunaticSubsequence({
1618
>
1719
{label}
1820
</div>
21+
<LabelDescription value={description} />
1922
<Declarations
2023
type="AFTER_QUESTION_TEXT"
2124
declarations={declarations}

0 commit comments

Comments
 (0)