mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 09:39:10 +08:00
8 lines
358 B
TypeScript
8 lines
358 B
TypeScript
|
/* eslint-disable import/prefer-default-export */
|
||
|
import * as React from 'react';
|
||
|
import type { TriggerProps } from 'rc-trigger';
|
||
|
|
||
|
// We export context here is to avoid testing-lib inject `afterEach` in `tests/index.test.js`
|
||
|
// Which breaks the circle deps
|
||
|
export const TriggerMockContext = React.createContext<Partial<TriggerProps> | undefined>(undefined);
|