![JAR search and dependency download from the Maven repository](/logo.png)
META-INF.resources.js.seo.display_page_templates.OpenGraphMapping.js Maven / Gradle / Ivy
/**
* 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 {sub} from 'frontend-js-web';
import {PropTypes} from 'prop-types';
import React from 'react';
import MappingFields from './components/MappingFields';
export default function OpenGraphMapping({
fields,
openGraphDescription,
openGraphImage,
openGraphImageAlt,
openGraphTitle,
portletNamespace,
selectedSource,
}) {
return (
);
}
OpenGraphMapping.propTypes = {
fields: PropTypes.arrayOf(
PropTypes.shape({
key: PropTypes.string,
label: PropTypes.string,
})
).isRequired,
openGraphDescription: PropTypes.string,
openGraphImage: PropTypes.string,
openGraphImageAlt: PropTypes.string,
openGraphTitle: PropTypes.string,
selectedSource: PropTypes.shape({
classNameLabel: PropTypes.string,
classTypeLabel: PropTypes.string,
}).isRequired,
};
© 2015 - 2025 Weber Informatics LLC | Privacy Policy