META-INF.resources.js.components.shared.HiddenInputs.es.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.portal.search.tuning.rankings.web
Show all versions of com.liferay.portal.search.tuning.rankings.web
Liferay Portal Search Tuning Rankings Web
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, {useContext} from 'react';
import ThemeContext from '../../ThemeContext.es';
const HiddenInputs = ({valueMap = {}}) => {
const {namespace} = useContext(ThemeContext);
return Object.keys(valueMap).map((key) => (
));
};
HiddenInputs.propTypes = {
valueMap: PropTypes.object.isRequired,
};
export default HiddenInputs;