Download wp-calypso/client/me/application-passwords/list.jsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 439 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/me/application-passwords/list.jsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/me/application-passwords/list.jsx
-
curl -L -o list.jsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/me/application-passwords/list.jsx
439 Bytes
| import AppPasswordItem from 'calypso/me/application-password-item'; | |
| export default function AppPasswordsList( { appPasswords = [] } ) { | |
| if ( ! appPasswords.length ) { | |
| return null; | |
| } | |
| return ( | |
| <div className="application-passwords__active"> | |
| <ul className="application-passwords__list"> | |
| { appPasswords.map( ( password ) => ( | |
| <AppPasswordItem password={ password } key={ password.ID } /> | |
| ) ) } | |
| </ul> | |
| </div> | |
| ); | |
| } | |