Open History to see the last commit
1import type { ReactNode } from 'react'
2
3export function MdxCallout({
4 title,
5 children,
6}: {
7 title: string
8 children: ReactNode
9}) {
10 return (
11 <aside className="not-prose my-6 rounded-xl border border-[var(--line)] bg-[var(--chip-bg)] p-4">
12 <p className="island-kicker mb-2">{title}</p>
13 <div className="text-sm leading-7 text-[var(--sea-ink-soft)]">
14 {children}
15 </div>
16 </aside>
17 )
18}