import React from 'react' import { TabsItemInterface } from './TabsItem.interface' const activeStyles = (active: boolean) => active ? `border-primary font-semibold` : `border-transparent` // When using bold at hover, prevent text shift const boldFixStyle = `before:content-[attr(data-title)] before:block before:font-semibold before:h-0 before:overflow-hidden before:visibility-hidden` interface TabsItemProps extends TabsItemInterface { /** * Item is active */ active?: boolean /** * Call on tab change */ onChange: (arg0: string) => void } export const TabsItem = ({ id, title, active = false, onChange, }: TabsItemProps) => { return ( ) }