import type { HTMLAttributes, ReactNode } from 'react';
import { settingHeader } from './share.css';
interface SettingHeaderProps
extends Omit, 'title'> {
title: ReactNode;
subtitle?: ReactNode;
}
export const SettingHeader = ({
title,
subtitle,
...otherProps
}: SettingHeaderProps) => {
return (
{title}
{subtitle ?
{subtitle}
: null}
);
};