import React from 'react'; import { createStyles } from 'antd-style'; import classNames from 'classnames'; const useStyle = createStyles(({ css }) => ({ siteMask: css` z-index: 1; position: relative; `, })); export interface GroupMaskLayerProps { className?: string; style?: React.CSSProperties; onMouseMove?: React.MouseEventHandler; onMouseEnter?: React.MouseEventHandler; onMouseLeave?: React.MouseEventHandler; } const GroupMaskLayer: React.FC> = (props) => { const { children, className, style, onMouseMove, onMouseEnter, onMouseLeave } = props; const { styles } = useStyle(); return (
{children}
); }; export default GroupMaskLayer;