Files
community-rule/app/components/utility/Scrollbar/Scrollbar.container.tsx
T
2026-04-29 07:20:16 -06:00

19 lines
521 B
TypeScript

"use client";
import { memo } from "react";
import { ScrollbarView } from "./Scrollbar.view";
import type { ScrollbarProps } from "./Scrollbar.types";
/**
* Figma: "Utility / Scrollbar".
* Custom-styled scrollable wrapper. Most surfaces should attach
* `SCROLLBAR_DESIGN_CLASS` directly instead of nesting through this view.
*/
const ScrollbarContainer = memo<ScrollbarProps>((props) => {
return <ScrollbarView {...props} />;
});
ScrollbarContainer.displayName = "Scrollbar";
export default ScrollbarContainer;