@retailmenot/anchor
Version:
A React UI Library by RetailMeNot
19 lines (18 loc) • 889 B
TypeScript
import * as React from 'react';
import { SpaceProps } from '@xstyled/system';
import { Position, Variant } from './utils';
declare type TabKey = string | number;
interface TabsProps extends React.HTMLAttributes<HTMLDivElement>, SpaceProps {
className?: string;
background?: string;
variant?: Variant;
position?: Position;
activeKey?: TabKey;
defaultActiveKey?: TabKey;
spacing?: string;
}
export declare const Tabs: {
({ className, children, position, variant, activeKey, defaultActiveKey, spacing, onChange, ...props }: TabsProps): React.ReactElement<TabsProps>;
Pane: ({ className, children, padding, active, ...props }: any) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>;
};
export {};