14 lines
392 B
TypeScript
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>;
|
|
};
|