'use client' import React from 'react' import Button from '@/app/components/base/button' import { useTranslation } from 'react-i18next' type SetURLProps = { repoUrl: string onChange: (value: string) => void onNext: () => void onCancel: () => void } const SetURL: React.FC = ({ repoUrl, onChange, onNext, onCancel }) => { const { t } = useTranslation() return ( <> onChange(e.target.value)} className='flex items-center self-stretch rounded-lg border border-components-input-border-active bg-components-input-bg-active shadows-shadow-xs p-2 gap-[2px] flex-grow overflow-hidden text-components-input-text-filled text-ellipsis system-sm-regular' placeholder='Please enter GitHub repo URL' />
) } export default SetURL