MCPcopy Create free account
hub / github.com/SyntaxUI/syntaxui / Col

Function Col

src/components/mdx.tsx:68–85  ·  view source on GitHub ↗
({
  children,
  sticky = false,
}: {
  children: React.ReactNode
  sticky?: boolean
})

Source from the content-addressed store, hash-verified

66}
67
68export function Col({
69 children,
70 sticky = false,
71}: {
72 children: React.ReactNode
73 sticky?: boolean
74}) {
75 return (
76 <div
77 className={clsx(
78 '[&>:first-child]:mt-0 [&>:last-child]:mb-0',
79 sticky && 'xl:sticky xl:top-24',
80 )}
81 >
82 {children}
83 </div>
84 )
85}
86
87export function Properties({ children }: { children: React.ReactNode }) {
88 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected