mirror of
https://github.com/laurent22/joplin.git
synced 2025-03-11 14:09:55 +02:00
13 lines
289 B
TypeScript
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;
|