carbon-react
Version:
A library of reusable React components for easily building user interfaces.
11 lines (10 loc) • 360 B
TypeScript
import React from "react";
import { TabContextProps } from "./tabs.types";
export declare const TabContext: React.Context<TabContextProps>;
interface TabProviderProps {
children?: React.ReactNode;
tabId: string;
visible: boolean;
}
export declare const TabProvider: ({ children, tabId, visible }: TabProviderProps) => React.JSX.Element;
export {};