Download spectrum/src/actions/threadSlider.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 195 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/spectrum/src/actions/threadSlider.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/spectrum/src/actions/threadSlider.js
-
curl -L -o threadSlider.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/spectrum/src/actions/threadSlider.js
195 Bytes
| // @flow | |
| export const openThreadSlider = (threadId: string) => { | |
| return { | |
| type: 'OPEN_SLIDER', | |
| threadId, | |
| }; | |
| }; | |
| export const closeThreadSlider = () => ({ | |
| type: 'CLOSE_SLIDER', | |
| }); | |