mirror of https://github.com/usememos/memos
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
485 B
TypeScript
22 lines
485 B
TypeScript
import { useRef } from "react";
|
|
import UserBanner from "./UserBanner";
|
|
import ShortcutList from "./ShortcutList";
|
|
import UsageHeatMap from "./UsageHeatMap";
|
|
import "../less/siderbar.less";
|
|
|
|
interface Props {}
|
|
|
|
const Sidebar: React.FC<Props> = () => {
|
|
const wrapperElRef = useRef<HTMLElement>(null);
|
|
|
|
return (
|
|
<aside className="sidebar-wrapper" ref={wrapperElRef}>
|
|
<UserBanner />
|
|
<UsageHeatMap />
|
|
<ShortcutList />
|
|
</aside>
|
|
);
|
|
};
|
|
|
|
export default Sidebar;
|