mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-18 09:35:20 +02:00
13 lines
276 B
TypeScript
13 lines
276 B
TypeScript
|
import * as React from 'react';
|
||
|
|
||
|
interface Props {
|
||
|
text: string;
|
||
|
id?: string;
|
||
|
}
|
||
|
|
||
|
const SettingDescription: React.FC<Props> = props => {
|
||
|
return props.text ? <div className='setting-description' id={props.id}>{props.text}</div> : null;
|
||
|
};
|
||
|
|
||
|
export default SettingDescription;
|