react-wired-elements
Version:
Wired Elements as React components. TypeScript types included.
24 lines (23 loc) • 692 B
TypeScript
import * as React from 'react';
import { BaseProps } from './types';
export interface WiredTabsProps extends BaseProps {
/**
* Name of the currently selected tab.
*/
initialSelected?: string;
/**
* Text color of the selected tab.
* @default white
*/
selectedColor?: string;
/**
* Background color of the selected tab.
* @default black
*/
selectedBgColor?: string;
/**
* The children. Must be one or more WiredTab components.
*/
children?: React.ReactNode;
}
export declare const WiredTabs: ({ children, initialSelected, selectedColor, selectedBgColor, }: WiredTabsProps) => JSX.Element;