30 lines
692 B
JavaScript
30 lines
692 B
JavaScript
/////////////////////////////////////////////////////////////
|
|
//
|
|
// pgAdmin 4 - PostgreSQL Tools
|
|
//
|
|
// Copyright (C) 2013 - 2024, The pgAdmin Development Team
|
|
// This software is released under the PostgreSQL Licence
|
|
//
|
|
//////////////////////////////////////////////////////////////
|
|
|
|
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
export default function WizardStep({ ...props }) {
|
|
return (
|
|
<> {
|
|
React.Children.map(props.children, (child) => {
|
|
return (
|
|
<>
|
|
{child}
|
|
</>
|
|
);
|
|
})
|
|
}
|
|
</>
|
|
);
|
|
}
|
|
|
|
WizardStep.propTypes = {
|
|
children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]),
|
|
};
|