woocommerce/plugins/woocommerce-admin/client/header/activity-panel/panels/inbox/inbox-panel.js

25 lines
541 B
JavaScript

/**
* Internal dependencies
*/
import './inbox.scss';
import NotesPanel from '../../../../inbox-panel';
import { AbbreviatedNotificationsPanel } from './abbreviated-notifications-panel';
export const InboxPanel = ( {
hasAbbreviatedNotifications,
thingsToDoNextCount,
} ) => {
return (
<div className="woocommerce-notification-panels">
{ hasAbbreviatedNotifications && (
<AbbreviatedNotificationsPanel
thingsToDoNextCount={ thingsToDoNextCount }
/>
) }
<NotesPanel />
</div>
);
};
export default InboxPanel;