feat: add ScrollableSettingsWrapper component for scrollable settings

This commit is contained in:
Maximilian Liebmann 2025-05-11 16:35:12 +02:00 committed by SomeCodecat
parent f0a8275536
commit 7949c09544

View file

@ -0,0 +1,16 @@
import React from 'react';
interface ScrollableContentWrapperProps {
children: React.ReactNode;
className?: string;
}
export const ScrollableSettingsWrapper: React.FC<
ScrollableContentWrapperProps
> = ({ children, className = '' }) => {
return (
<div className={`h-[500px] overflow-y-auto space-y-2 ${className}`}>
{children}
</div>
);
};