react-code-dataset / wp-calypso /apps /wpcom-block-editor /src /wpcom /features /use-launchpad-screen.js
react-code-dataset / wp-calypso /apps /wpcom-block-editor /src /wpcom /features /use-launchpad-screen.js
Download wp-calypso/apps/wpcom-block-editor/src/wpcom/features/use-launchpad-screen.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 238 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/apps/wpcom-block-editor/src/wpcom/features/use-launchpad-screen.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/apps/wpcom-block-editor/src/wpcom/features/use-launchpad-screen.js
-
curl -L -o use-launchpad-screen.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/apps/wpcom-block-editor/src/wpcom/features/use-launchpad-screen.js
238 Bytes
| const useLaunchpadScreen = () => { | |
| // We have this data populated, on window.launchpadOptions, so we should use it. | |
| return { | |
| launchpad_screen: window.launchpadOptions?.launchpadScreenOption, | |
| }; | |
| }; | |
| export default useLaunchpadScreen; | |