META-INF.resources.js.seo.display_page_templates.SeoMapping.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 SeoMapping({
description,
fields,
portletNamespace,
selectedSource,
title,
}) {
return (
);
}
SeoMapping.propTypes = {
description: PropTypes.string,
fields: PropTypes.arrayOf(
PropTypes.shape({
key: PropTypes.string,
label: PropTypes.string,
})
).isRequired,
selectedSource: PropTypes.shape({
classNameLabel: PropTypes.string,
classTypeLabel: PropTypes.string,
}).isRequired,
title: PropTypes.string,
};