Files
domain-watchdog/assets/utils/providers/forms/NamecheapConnectorForm.tsx
2025-02-20 17:15:17 +01:00

26 lines
829 B
TypeScript

import {Form, Input, Typography} from 'antd'
import React from 'react'
import {t} from 'ttag'
export default function NamecheapConnectorForm() {
return (
<>
<Form.Item
label={t`Username`}
name={['authData', 'ApiUser']}
help={<Typography.Link target='_blank' href='https://ap.www.namecheap.com/settings/tools/apiaccess/'>
{t`Retreive an API key and whitelist this instance's IP address on Namecheap's website`}
</Typography.Link>}
>
<Input autoComplete='off'/>
</Form.Item>
<Form.Item
label={t`API key`}
name={['authData', 'ApiKey']}
>
<Input autoComplete='off'/>
</Form.Item>
</>
)
}