carbon-react
Version:
A library of reusable React components for easily building user interfaces.
9 lines (8 loc) • 362 B
TypeScript
import React from "react";
export interface TabContextProps {
setError?: (childId: string, error?: boolean | string) => void;
setWarning?: (childId: string, warning?: boolean | string) => void;
setInfo?: (childId: string, info?: boolean | string) => void;
}
export declare const TabContext: React.Context<TabContextProps>;
export default TabContext;