mirror of
https://github.com/supabase/supabase.git
synced 2026-09-10 03:51:51 +08:00
11 lines
239 B
TypeScript
11 lines
239 B
TypeScript
export const AccordionItem = ({
|
|
props,
|
|
children,
|
|
}: {
|
|
props: Record<string, unknown>
|
|
children: string
|
|
}): string => {
|
|
const header = String(props.header ?? '').trim()
|
|
return header ? `**${header}**\n\n${children}` : children
|
|
}
|