portainer/app/react/kubernetes/cluster/ingressClass/IngressClassDatatable/RowContext.tsx

12 lines
306 B
TypeScript

import { Environment } from '@/react/portainer/environments/types';
import { createRowContext } from '@@/datatables/RowContext';
interface RowContextState {
environment: Environment;
}
const { RowProvider, useRowContext } = createRowContext<RowContextState>();
export { RowProvider, useRowContext };