@cerberus-design/styled-system
Version:
Cerberus Design System Panda-CSS styled-system.
31 lines (25 loc) • 978 B
TypeScript
/* eslint-disable */
import type { ConditionalValue } from '../types/index';
import type { DistributiveOmit, Pretty } from '../types/system-types';
interface TabsVariant {
/**
* @default "action"
*/
palette: "action" | "secondaryAction"
}
type TabsVariantMap = {
[key in keyof TabsVariant]: Array<TabsVariant[key]>
}
export type TabsVariantProps = {
[key in keyof TabsVariant]?: ConditionalValue<TabsVariant[key]> | undefined
}
export interface TabsRecipe {
__type: TabsVariantProps
(props?: TabsVariantProps): Pretty<Record<"root" | "list" | "trigger" | "content" | "indicator", string>>
raw: (props?: TabsVariantProps) => TabsVariantProps
variantMap: TabsVariantMap
variantKeys: Array<keyof TabsVariant>
splitVariantProps<Props extends TabsVariantProps>(props: Props): [TabsVariantProps, Pretty<DistributiveOmit<Props, keyof TabsVariantProps>>]
getVariantProps: (props?: TabsVariantProps) => TabsVariantProps
}
export declare const tabs: TabsRecipe