1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-28 16:17:02 +00:00
Files
seahub/frontend/src/pages/wiki2/wiki-right-header/index.js
2024-07-10 16:37:41 +08:00

23 lines
479 B
JavaScript

import React from 'react';
import PropTypes from 'prop-types';
import PageCover from './page-cover';
import PageTitle from './page-title';
function RightHeader({ currentPageConfig, onUpdatePage }) {
const props = { currentPageConfig, onUpdatePage };
return (
<>
<PageCover {...props} />
<PageTitle {...props} />
</>
);
}
RightHeader.propTypes = {
currentPageConfig: PropTypes.object,
onUpdatePage: PropTypes.func,
};
export default RightHeader;