"use client"; import { useCustomTheme } from "../../../../core/design-system/CustomThemeProvider.js"; import { Container, noScrollBar } from "../../components/basic.js"; import { StyledDiv } from "../../design-system/elements.js"; import { compactModalMaxHeight } from "../constants.js"; /** * @internal */ export function ConnectModalWideLayout(props: { left: React.ReactNode; right: React.ReactNode; }) { return (
{props.left} {props.right}
); } /** * @internal */ export function ConnectModalCompactLayout(props: { children: React.ReactNode; }) { return ( {props.children} ); } const LeftContainer = /* @__PURE__ */ StyledDiv((_) => { const theme = useCustomTheme(); return { display: "flex", flexDirection: "column", overflowY: "auto", ...noScrollBar, borderRight: `1px solid ${theme.colors.separatorLine}`, position: "relative", }; });