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

Function Note

src/components/mdx.tsx:49–58  ·  view source on GitHub ↗
({ children }: { children: React.ReactNode })

Source from the content-addressed store, hash-verified

47}
48
49export function Note({ children }: { children: React.ReactNode }) {
50 return (
51 <div className="my-6 flex gap-2.5 rounded-2xl border border-gray-500/20 bg-gray-50/50 p-4 leading-6 text-gray-900 dark:border-gray-500/30 dark:bg-gray-500/5 dark:text-gray-200 dark:[--tw-prose-links-hover:theme(colors.gray.300)] dark:[--tw-prose-links:theme(colors.white)]">
52 <InfoIcon className="mt-1 h-4 w-4 flex-none fill-gray-500 stroke-white dark:fill-gray-200/20 dark:stroke-gray-200" />
53 <div className="[&>:first-child]:mt-0 [&>:last-child]:mb-0">
54 {children}
55 </div>
56 </div>
57 )
58}
59
60export function Row({ children }: { children: React.ReactNode }) {
61 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected