META-INF.resources.js.components.criteria_builder.ContributorInputs.es.js Maven / Gradle / Ivy
The newest version!
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
import PropTypes from 'prop-types';
import React from 'react';
import {initialContributorShape} from '../../utils/types.es';
function ContributorInputs({contributors}) {
return contributors
.filter((criteria) => criteria.query)
.map((criteria, i) => {
return (
);
});
}
ContributorInputs.propTypes = {
contributors: PropTypes.arrayOf(initialContributorShape),
};
export default ContributorInputs;
© 2015 - 2024 Weber Informatics LLC | Privacy Policy