import clsx from 'clsx'; import { PropsWithChildren, ReactNode } from 'react'; import { Icon } from '@/react/components/Icon'; import { useWidgetContext } from './Widget'; interface Props { title: ReactNode; icon: ReactNode; featherIcon?: boolean; className?: string; } export function WidgetTitle({ title, icon, className, children, featherIcon, }: PropsWithChildren) { useWidgetContext(); return (
{title} {children}
); }