@postenbring/hedwig-react
Version:
React components for [Hedwig Design System](https://github.com/bring/hedwig-design-system).
21 lines • 946 B
TypeScript
import type { HTMLAttributes, ReactElement } from "react";
export interface TabsListProps extends HTMLAttributes<HTMLDivElement> {
children: ReactElement<TabsTabProps> | ReactElement<TabsTabProps>[];
/**
* Direction of the tabs. Can either be vertical or horizontal.
* Horizontal breaks on window width with fallback back to vertical
*
* @default "horizontal"
*/
direction?: "vertical" | "horizontal";
}
export declare const TabsList: import("react").ForwardRefExoticComponent<TabsListProps & import("react").RefAttributes<HTMLDivElement>>;
export interface TabsTabProps extends HTMLAttributes<HTMLButtonElement> {
children: ReactElement<HTMLElement> | string;
/**
* Identifier for the tab
*/
tabId: string;
}
export declare const TabsTab: import("react").ForwardRefExoticComponent<TabsTabProps & import("react").RefAttributes<HTMLButtonElement>>;
//# sourceMappingURL=tabs-list.d.ts.map