ant-design/components/anchor/context.ts
lijianan b3a37b7ca9
refactor: Anchor.Link with FC (#37957)
* fix: fix

* fix: fix

* fix: revert

* fix: fix

* test: fix test case

* test: fix

* test: fix

* fix: fix

* fix: fix
2022-10-17 21:36:56 +08:00

7 lines
184 B
TypeScript

import * as React from 'react';
import type { AntAnchor } from './Anchor';
const AnchorContext = React.createContext<AntAnchor | undefined>(undefined);
export default AnchorContext;