import { IconCheck, IconClipboard } from '@supabase/ui' import { useState } from 'react' const CommandRender = ({ commands }: any) => { return (
{commands.map((item: any, idx: number) => { const [isCopied, setIsCopied] = useState(false) return (
{`> ${item.comment}`}
$ {item.jsx ? item.jsx() : null}
) })}
) } export default CommandRender