Files
standardnotes-app-web/app/assets/javascripts/components/TitleBar.tsx
2021-07-05 16:57:37 +02:00

14 lines
392 B
TypeScript

import { FunctionComponent } from 'preact';
export const TitleBar: FunctionComponent<{ className?: string }> = ({
children,
className,
}) => <div className={`sn-titlebar ${className ?? ''}`}>{children}</div>;
export const Title: FunctionComponent<{ className?: string }> = ({
children,
className,
}) => {
return <div className={`sn-title ${className ?? ''}`}>{children}</div>;
};