Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

next
tsx 20 lines 600 Bytes
Raw
1 import type { ReactNode } from 'react';
2
3 /**
4 * Lays out its two children side-by-side (explanatory text + a visual/terminal)
5 * once the screen is wide enough, stacking them on narrower viewports. Drop a
6 * markdown paragraph and a component inside it in MDX:
7 *
8 * <MediaSplit>
9 * Some explanatory copy…
10 *
11 * <InChatAuthTerminal … />
12 * </MediaSplit>
13 */
14 export function MediaSplit({ children }: { children: ReactNode }) {
15 return (
16 <div className="mt-16 mb-6 grid items-start gap-6 lg:grid-cols-2 lg:gap-10 [&>*]:my-0 [&>*>:first-child]:mt-0">
17 {children}
18 </div>
19 );
20 }