memos/web/src/components/TimelineSidebar/TimelineSidebar.tsx
2024-03-29 09:16:55 +08:00

23 lines
520 B
TypeScript

import classNames from "classnames";
import TagsSection from "../HomeSidebar/TagsSection";
import SearchBar from "../SearchBar";
interface Props {
className?: string;
}
const TimelineSidebar = (props: Props) => {
return (
<aside
className={classNames(
"relative w-full h-auto max-h-screen overflow-auto hide-scrollbar flex flex-col justify-start items-start",
props.className,
)}
>
<SearchBar />
<TagsSection />
</aside>
);
};
export default TimelineSidebar;