mirror of https://github.com/jetkvm/kvm.git
feat(ui): add SettingsNestedSection component for consistent nested settings
This commit is contained in:
parent
fb2ab7db17
commit
ae317fdc5a
|
@ -0,0 +1,11 @@
|
||||||
|
export default function SettingsNestedSection({
|
||||||
|
children,
|
||||||
|
}: {
|
||||||
|
children: React.ReactNode;
|
||||||
|
}) {
|
||||||
|
return (
|
||||||
|
<div className="ml-2 border-l border-slate-800/30 pl-4 dark:border-slate-300/30">
|
||||||
|
{children}
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
Loading…
Reference in New Issue