mirror of
https://github.com/Unleash/unleash.git
synced 2025-11-24 20:06:55 +01:00
18 lines
553 B
TypeScript
18 lines
553 B
TypeScript
import Content from '@theme-original/DocSidebar/Desktop/Content';
|
|
import type ContentType from '@theme/DocSidebar/Desktop/Content';
|
|
import type { WrapperProps } from '@docusaurus/types';
|
|
import Link from '@docusaurus/Link';
|
|
|
|
type Props = WrapperProps<typeof ContentType>;
|
|
|
|
export default function ContentWrapper(props: Props): JSX.Element {
|
|
return (
|
|
<>
|
|
<Link to='/' className='sidebar-brand-link'>
|
|
<div className='sidebar-brand-logo' />
|
|
</Link>
|
|
<Content {...props} />
|
|
</>
|
|
);
|
|
}
|