fix proper react import again (#23762)

pull/23766/head
Amumu 5 years ago committed by GitHub
parent 9cd8f79366
commit 245deed4b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
export function fillRef<T>(ref: React.Ref<T>, node: T) {
if (typeof ref === 'function') {

@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import { AntAnchor } from './Anchor';
const AnchorContext = React.createContext<AntAnchor>(null as any);

Loading…
Cancel
Save