Download wp-calypso/client/jetpack-cloud/sections/settings/credentials/form.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 460 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/jetpack-cloud/sections/settings/credentials/form.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/jetpack-cloud/sections/settings/credentials/form.tsx
-
curl -L -o form.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/jetpack-cloud/sections/settings/credentials/form.tsx
460 Bytes
| import { useTranslate } from 'i18n-calypso'; | |
| import { FunctionComponent } from 'react'; | |
| import ServerCredentialsForm from 'calypso/components/jetpack/server-credentials-form'; | |
| const Form: FunctionComponent = () => { | |
| const translate = useTranslate(); | |
| return ( | |
| <div className="credentials__form"> | |
| <h1>{ translate( 'Provide your SSH, SFTP or FTP server credentials' ) }</h1> | |
| <ServerCredentialsForm role="form" /> | |
| </div> | |
| ); | |
| }; | |
| export default Form; | |