mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 21:48:19 +08:00
6a5e7ded43
* refactor: remove IE compatible logic * fix: fix * fix: fix * fix: fix
7 lines
229 B
TypeScript
7 lines
229 B
TypeScript
import canUseDom from 'rc-util/lib/Dom/canUseDom';
|
|
import { isStyleSupport } from 'rc-util/lib/Dom/styleChecker';
|
|
|
|
export const canUseDocElement = () => canUseDom() && window.document.documentElement;
|
|
|
|
export { isStyleSupport };
|