Download wp-calypso/client/state/admin-menu/test/fixture/menu-fixture.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.68 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/admin-menu/test/fixture/menu-fixture.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/state/admin-menu/test/fixture/menu-fixture.js
-
curl -L -o menu-fixture.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/admin-menu/test/fixture/menu-fixture.js
1.68 kB
| export default [ | |
| { | |
| icon: 'dashicons-feedback', | |
| slug: 'feedback', | |
| title: 'Feedback', | |
| type: 'menu-item', | |
| url: 'https://examplewebsite.wordpress.com/wp-admin/admin.php?page=feedback', | |
| children: [ | |
| { | |
| parent: 'feedback', | |
| slug: 'edit-phppost_typefeedback', | |
| title: 'Feedback', | |
| type: 'submenu-item', | |
| url: 'https://examplewebsite.wordpress.com/wp-admin/admin.php?page=jetpack-forms', | |
| }, | |
| { | |
| parent: 'feedback', | |
| slug: 'polls', | |
| title: 'Polls', | |
| type: 'submenu-item', | |
| url: 'http://feedback?page=polls', | |
| }, | |
| { | |
| parent: 'feedback', | |
| slug: 'ratings', | |
| title: 'Ratings', | |
| type: 'submenu-item', | |
| url: 'http://feedback?page=ratings', | |
| }, | |
| ], | |
| }, | |
| { | |
| icon: 'dashicons-dashboard', | |
| slug: 'index-php', | |
| title: 'Dashboard', | |
| type: 'menu-item', | |
| url: 'https://examplewebsite.wordpress.com/wp-admin/index.php', | |
| children: [ | |
| { | |
| parent: 'index.php', | |
| slug: 'index-php', | |
| title: 'Home', | |
| type: 'submenu-item', | |
| url: 'https://examplewebsite.wordpress.com/wp-admin/index.php', | |
| }, | |
| { | |
| parent: 'index.php', | |
| slug: 'my-comments', | |
| title: 'Comments I’ve Made', | |
| type: 'submenu-item', | |
| url: 'index.php?page=my-comments', | |
| }, | |
| { | |
| parent: 'index.php', | |
| slug: 'stats', | |
| title: 'Site Stats', | |
| type: 'submenu-item', | |
| url: 'index.php?page=stats', | |
| }, | |
| { | |
| parent: 'index.php', | |
| slug: 'my-blogs', | |
| title: 'My Blogs', | |
| type: 'submenu-item', | |
| url: 'index.php?page=my-blogs', | |
| }, | |
| { | |
| parent: 'index.php', | |
| slug: 'subscriptions', | |
| title: 'Blogs I Follow', | |
| type: 'submenu-item', | |
| url: 'index.php?page=subscriptions', | |
| }, | |
| ], | |
| }, | |
| ]; | |