Skip to content

Commit 83343ad

Browse files
committed
feat(@clayui/localized-input): LPD-51801 use blockquote form-text for default language translation
1 parent ef00792 commit 83343ad

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

packages/clay-localized-input/src/index.tsx

+5-3
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,11 @@ const LocalizedInput = React.forwardRef<HTMLInputElement, IProps>(
226226
</ClayInput.GroupItem>
227227
</ClayInput.Group>
228228

229-
<ClayForm.Text>
230-
{resultFormatter(translations[defaultLanguage.label]!)}
231-
</ClayForm.Text>
229+
{selectedLocale.symbol !== defaultLanguage.symbol && (
230+
<ClayForm.Text className="blockquote">
231+
{resultFormatter(translations[defaultLanguage.label]!)}
232+
</ClayForm.Text>
233+
)}
232234
</ClayForm.Group>
233235
);
234236
}

0 commit comments

Comments
 (0)