import { PropsWithChildren } from 'react'; import { Icon } from '@/react/components/Icon'; import { useTableContext } from './TableContainer'; interface Props { icon: string; label: string; featherIcon?: boolean; } export function TableTitle({ icon, featherIcon, label, children, }: PropsWithChildren) { useTableContext(); return (
{label}
{children}
); }