PteroTheme/resources/scripts/components/Sidebar.tsx

17 lines
335 B
TypeScript
Raw Normal View History

2023-08-04 18:22:32 +01:00
import React, { ReactNode } from 'react';
2023-07-09 02:02:17 +01:00
import '@/assets/css/sidebar.css';
2023-08-04 18:22:32 +01:00
type ParentProps = {
children: ReactNode;
};
export default ({ children }: Omit<ParentProps, 'render'>) => {
2023-07-09 02:02:17 +01:00
return (
<>
2023-08-04 19:23:14 +01:00
<div className='sidebar' id='sidebar'>
{children}
</div>
2023-07-09 02:02:17 +01:00
</>
);
};