mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +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 };
|