mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-11-04 13:17:17 -06:00
- Always generate right-angled links - Switch port to Left/Right for the best link route.
16 lines
421 B
React
16 lines
421 B
React
import React, { useRef } from 'react';
|
|
import CustomPropTypes from '../../../../pgadmin/static/js/custom_prop_types';
|
|
export * from '@mui/material';
|
|
|
|
// mock popper
|
|
|
|
export const Popper = React.forwardRef((props, _ref)=>{
|
|
const ele = useRef();
|
|
return <div ref={ele} data-test="material-popper">{props.children}</div>;
|
|
});
|
|
|
|
Popper.displayName = 'Popper';
|
|
Popper.propTypes = {
|
|
children: CustomPropTypes.children,
|
|
};
|