mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-22 08:46:39 -06:00
17 lines
433 B
JavaScript
17 lines
433 B
JavaScript
import React, { useRef } from 'react';
|
|
import PropTypes from 'prop-types';
|
|
export * from 'react-data-grid';
|
|
|
|
// eslint-disable-next-line no-unused-vars
|
|
const ReactDataGrid = React.forwardRef((props, _ref)=>{
|
|
const ele = useRef();
|
|
return <div id={props.id} ref={ele} data-test="react-data-grid"/>;
|
|
});
|
|
|
|
ReactDataGrid.displayName = 'ReactDataGrid';
|
|
ReactDataGrid.propTypes = {
|
|
id: PropTypes.any
|
|
};
|
|
|
|
export default ReactDataGrid;
|