import { useState } from 'react' import { cn } from 'ui' export const FilesViewer = ({ files }: { files: string[] }) => { const [selected, setSelected] = useState(files[0]) return (
{selected} {files.length > 1 && (
{files.map((x) => ( ))}
)}
) }