import { ICSS, StyledProp } from '@codeleap/styles' import { ReactNode } from 'react' import { TabsComposition } from './styles' import { ViewProps } from '../View' export type TabsContextProps = { defaultValue: string value?: string onValueChange?: (newValue: string) => void children?: ReactNode keepMounted?: boolean withWrapper?: boolean } export type TabsProps = TabsContextProps & Omit & { style?: StyledProp } export type TabsStyles = Record export type TabPropsWithCtx

= P & { active?: boolean setValue?: (value: string) => void styles: TabsStyles }