import React, {ReactNode} from "react";

interface InsetPanelProps {
    children: ReactNode;
    className?: string;
}

export default function InsetPanel({children, className = ''}: InsetPanelProps): React.JSX.Element {
    return (
        <div className={`flex-1 bg-darkest-background rounded-xl m-1 overflow-auto flex flex-col ${className}`}>
            {children}
        </div>
    );
}
