mirror of https://github.com/portainer/portainer
12 lines
300 B
TypeScript
12 lines
300 B
TypeScript
|
import { Environment } from '@/portainer/environments/types';
|
||
|
|
||
|
import { createRowContext } from '@@/datatables/RowContext';
|
||
|
|
||
|
interface RowContextState {
|
||
|
environment: Environment;
|
||
|
}
|
||
|
|
||
|
const { RowProvider, useRowContext } = createRowContext<RowContextState>();
|
||
|
|
||
|
export { RowProvider, useRowContext };
|