@spicy-ui/core
Version:
A themable and extensible React UI library, ready to use out of the box
12 lines (11 loc) • 587 B
TypeScript
import * as React from 'react';
import { SxProp } from '../../system';
import { ColorScales } from '../../theme';
import { AsProp, ChildrenProp, HTMLAttributes, LiteralUnion } from '../../types';
export declare type TabColors = ColorScales;
export declare type TabVariants = 'line' | 'enclosed' | 'pill';
export interface TabsProps extends HTMLAttributes, AsProp, ChildrenProp, SxProp {
color?: LiteralUnion<TabColors>;
variant?: LiteralUnion<TabVariants>;
}
export declare const Tabs: React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<HTMLDivElement>>;