import * as React from 'react'; import Button, { ButtonLevel } from '../../Button/Button'; import { _ } from '@joplin/lib/locale'; interface Props { onClick: ()=> void; advancedSettingsVisible: boolean; 'aria-controls': string; } const ToggleAdvancedSettingsButton: React.FunctionComponent = props => { const iconName = props.advancedSettingsVisible ? 'fa fa-angle-down' : 'fa fa-angle-right'; return (
); }; export default ToggleAdvancedSettingsButton;