Download wp-calypso/client/state/ui/layout-focus/actions.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 441 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/ui/layout-focus/actions.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/state/ui/layout-focus/actions.js
-
curl -L -o actions.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/ui/layout-focus/actions.js
441 Bytes
| import { | |
| LAYOUT_FOCUS_SET, | |
| LAYOUT_NEXT_FOCUS_SET, | |
| LAYOUT_NEXT_FOCUS_ACTIVATE, | |
| } from 'calypso/state/action-types'; | |
| import 'calypso/state/ui/init'; | |
| export function setLayoutFocus( area ) { | |
| return { | |
| type: LAYOUT_FOCUS_SET, | |
| area, | |
| }; | |
| } | |
| export function setNextLayoutFocus( area ) { | |
| return { | |
| type: LAYOUT_NEXT_FOCUS_SET, | |
| area, | |
| }; | |
| } | |
| export function activateNextLayoutFocus() { | |
| return { | |
| type: LAYOUT_NEXT_FOCUS_ACTIVATE, | |
| }; | |
| } | |