24 lines
644 B
JavaScript
24 lines
644 B
JavaScript
import React from 'react';
|
|
import { PluginSlot } from '@openedx/frontend-plugin-framework';
|
|
import DesktopLoggedOutItems, { desktopLoggedOutItemsDataShape } from '../../desktop-header/DesktopLoggedOutItems';
|
|
|
|
const DesktopLoggedOutItemsSlot = ({
|
|
items,
|
|
}) => (
|
|
<PluginSlot
|
|
id="org.openedx.frontend.layout.header_desktop_logged_out_items.v1"
|
|
idAliases={['desktop_logged_out_items_slot']}
|
|
slotOptions={{
|
|
mergeProps: true,
|
|
}}
|
|
>
|
|
<DesktopLoggedOutItems items={items} />
|
|
</PluginSlot>
|
|
);
|
|
|
|
DesktopLoggedOutItemsSlot.propTypes = {
|
|
items: desktopLoggedOutItemsDataShape,
|
|
};
|
|
|
|
export default DesktopLoggedOutItemsSlot;
|