import React from 'react'
import '../../tailwind.css'

export interface TabProps {
    /* Tab id */
    id: string
    /* Inner content of the stack */
    children: React.ReactNode
}

export const Tab = ({ id, children }: TabProps) => (
    <div
        className="w-full"
        id={id}
        role="tablpanel"
        tabIndex={-1}
    >
        {children}
    </div>
)
