UNPKG

@postenbring/hedwig-react

Version:

React components for [Hedwig Design System](https://github.com/bring/hedwig-design-system).

26 lines 1.13 kB
import type { HTMLAttributes, ReactElement } from "react"; export interface TabsContentsProps extends HTMLAttributes<HTMLDivElement> { children: ReactElement<TabsContentProps> | ReactElement<TabsContentProps>[]; /** * Change the default rendered element for the one passed as a child, merging their props and behavior. * * @default false */ asChild?: boolean; } export declare const TabsContents: import("react").ForwardRefExoticComponent<TabsContentsProps & import("react").RefAttributes<HTMLDivElement>>; export interface TabsContentProps extends HTMLAttributes<HTMLElement> { children: ReactElement<HTMLElement> | ReactElement<HTMLElement>[] | string; /** * Content for the referenced tabId */ forTabId: string; /** * Change the default rendered element for the one passed as a child, merging their props and behavior. * * @default false */ asChild?: boolean; } export declare const TabsContent: import("react").ForwardRefExoticComponent<TabsContentProps & import("react").RefAttributes<HTMLDivElement>>; //# sourceMappingURL=tabs-content.d.ts.map