import { IconButton } from '@/components/IconButton'; import { TitleBar, Title } from '@/components/TitleBar'; import { FunctionComponent } from 'preact'; import { PreferencesPane } from './pane'; interface PreferencesViewProps { close: () => void; } export const PreferencesView: FunctionComponent = ({ close, }) => (
{/* div is added so flex justify-between can center the title */}
Your preferences for Standard Notes { close(); }} type="normal" iconType="close" />
);