import { classNames } from '@standardnotes/utils' import { ComponentPropsWithoutRef } from 'react' import { useTabStateContext } from './useTabState' type Props = { id: string } & ComponentPropsWithoutRef<'button'> const Tab = ({ id, className, children, ...props }: Props) => { const { state } = useTabStateContext() const { activeTab, setActiveTab } = state const isActive = activeTab === id return ( ) } export default Tab