import { Card, CardContent, CardHeader } from '@/components/ui/card'; import { PropsWithChildren } from 'react'; export const UserSettingHeader = ({ name, description, }: { name: string; description?: string; }) => { return ( <>
{name}
{description && (
{description}
)}
{/* */} ); }; export function Title({ children }: PropsWithChildren) { return {children}; } type ProfileSettingWrapperCardProps = { header: React.ReactNode; } & PropsWithChildren; export function ProfileSettingWrapperCard({ header, children, }: ProfileSettingWrapperCardProps) { return ( {header} {children} ); }