mirror of
https://github.com/supabase/supabase.git
synced 2026-06-28 19:39:19 -04:00
10 lines
201 B
TypeScript
10 lines
201 B
TypeScript
export const TabPanel = ({
|
|
props,
|
|
children,
|
|
}: {
|
|
props: Record<string, unknown>
|
|
children: string
|
|
}): string => {
|
|
return props.label ? `**${String(props.label)}**\n\n${children}` : children
|
|
}
|