carbon-react
Version:
A library of reusable React components for easily building user interfaces.
16 lines (15 loc) • 431 B
TypeScript
import React from "react";
export interface SubRowContextProps {
isSubRow?: boolean;
firstRowId: string;
addRow: (id: string) => void;
removeRow: (id: string) => void;
}
export declare const SubRowContext: React.Context<SubRowContextProps>;
declare const SubRowProvider: {
({ children }: {
children: React.ReactNode;
}): React.JSX.Element;
displayName: string;
};
export default SubRowProvider;