first
This commit is contained in:
commit
8538ab969a
434 changed files with 44051 additions and 0 deletions
13
apps/web/modules/saas/shared/components/SettingsList.tsx
Normal file
13
apps/web/modules/saas/shared/components/SettingsList.tsx
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import type { PropsWithChildren } from "react";
|
||||
|
||||
export function SettingsList({ children }: PropsWithChildren) {
|
||||
return (
|
||||
<div className="@container flex flex-col gap-4">
|
||||
{Array.isArray(children)
|
||||
? children.filter(Boolean).map((child, i) => {
|
||||
return <div key={`settings-item-${i}`}>{child}</div>;
|
||||
})
|
||||
: children}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue