mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
* refactor: use @rc-component * chore: adjust compile * test: fix logic * chore: back of reset --------- Co-authored-by: 二货机器人 <smith3816@gmail.com>
7 lines
251 B
TypeScript
7 lines
251 B
TypeScript
import canUseDom from '@rc-component/util/lib/Dom/canUseDom';
|
|
import { isStyleSupport } from '@rc-component/util/lib/Dom/styleChecker';
|
|
|
|
export const canUseDocElement = () => canUseDom() && window.document.documentElement;
|
|
|
|
export { isStyleSupport };
|