Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/lib/kit/components/Card/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,11 @@ export const Card: React.FC<CardProps> = ({
placement: COMMON_POPOVER_PLACEMENT,
}}
>
{description}
<span
dangerouslySetInnerHTML={{
__html: description,
}}
/>
</HelpMark>
</div>
) : null}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,11 @@ export const TableArrayInput: ArrayInput = ({spec, name, arrayInput, input}) =>
placement: COMMON_POPOVER_PLACEMENT,
}}
>
{description}
<span
dangerouslySetInnerHTML={{
__html: description,
}}
/>
</HelpMark>
</Flex>
),
Expand Down
6 changes: 5 additions & 1 deletion src/lib/kit/components/Layouts/Column/Column.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ const ColumnBase = <T extends FieldValue, S extends Spec>({
placement: COMMON_POPOVER_PLACEMENT,
}}
>
{spec.viewSpec.layoutDescription}
<span
dangerouslySetInnerHTML={{
__html: spec.viewSpec.layoutDescription,
}}
/>
</HelpMark>
</Text>
</span>
Expand Down
6 changes: 5 additions & 1 deletion src/lib/kit/components/Layouts/Row/Row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ const RowBase = <T extends FieldValue, S extends Spec>({
placement: COMMON_POPOVER_PLACEMENT,
}}
>
{spec.viewSpec.layoutDescription}
<span
dangerouslySetInnerHTML={{
__html: spec.viewSpec.layoutDescription,
}}
/>
</HelpMark>
</Text>
</span>
Expand Down
6 changes: 5 additions & 1 deletion src/lib/kit/components/Layouts/Section/Section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,11 @@ const SectionBase = <
placement: COMMON_POPOVER_PLACEMENT,
}}
>
{spec.viewSpec.layoutDescription}
<span
dangerouslySetInnerHTML={{
__html: spec.viewSpec.layoutDescription,
}}
/>
</HelpMark>
</Text>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,11 @@ export class SimpleVerticalAccordeon extends React.Component<
placement: COMMON_POPOVER_PLACEMENT,
}}
>
{note}
<span
dangerouslySetInnerHTML={{
__html: note,
}}
/>
</HelpMark>
</Text>
) : null;
Expand Down
6 changes: 5 additions & 1 deletion src/lib/kit/components/TogglerCard/TogglerCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ export const TogglerCard: React.FC<TogglerCardProps> = ({
placement: COMMON_POPOVER_PLACEMENT,
}}
>
{description}
<span
dangerouslySetInnerHTML={{
__html: description,
}}
/>
</HelpMark>
) : null}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ export const ViewColumn = <T extends FormValue, S extends Spec>({
placement: COMMON_POPOVER_PLACEMENT,
}}
>
{spec.viewSpec.layoutDescription}
<span
dangerouslySetInnerHTML={{
__html: spec.viewSpec.layoutDescription,
}}
/>
</HelpMark>
) : null}
</div>
Expand Down
6 changes: 5 additions & 1 deletion src/lib/kit/components/ViewLayouts/ViewRow/ViewRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ export const ViewRow = <T extends FormValue, S extends Spec>({
placement: COMMON_POPOVER_PLACEMENT,
}}
>
{spec.viewSpec.layoutDescription}
<span
dangerouslySetInnerHTML={{
__html: spec.viewSpec.layoutDescription,
}}
/>
</HelpMark>
) : null}
<div className={b('dots')} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ export const TableArrayView: ArrayView = ({value = [], spec, name}) => {
placement: COMMON_POPOVER_PLACEMENT,
}}
>
{description}
<span
dangerouslySetInnerHTML={{
__html: description,
}}
/>
</HelpMark>
</Flex>
)
Expand Down