mirror of
https://github.com/portainer/portainer.git
synced 2025-07-21 22:39:41 +02:00
11 lines
306 B
TypeScript
11 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 };
|