1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-18 09:35:20 +02:00
joplin/packages/app-desktop/gui/ConfigScreen/controls/SettingDescription.tsx
Henry Heino a616dc3cd2
Desktop: Fix errors found by automated accessibility testing (#11246)
Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
2024-11-09 12:50:06 +00:00

13 lines
289 B
TypeScript

import * as React from 'react';
interface Props {
text: string;
id?: string;
}
const SettingDescription: React.FC<Props> = props => {
return <div className={`setting-description ${!props.text ? '-empty' : ''}`} id={props.id}>{props.text}</div>;
};
export default SettingDescription;