Download wp-calypso/client/state/command-palette/actions.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 250 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/command-palette/actions.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/state/command-palette/actions.ts
-
curl -L -o actions.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/command-palette/actions.ts
250 Bytes
| import { COMMAND_PALETTE_OPEN, COMMAND_PALETTE_CLOSE } from 'calypso/state/action-types'; | |
| export const openCommandPalette = () => ( { | |
| type: COMMAND_PALETTE_OPEN, | |
| } ); | |
| export const closeCommandPalette = () => ( { | |
| type: COMMAND_PALETTE_CLOSE, | |
| } ); | |