Download wp-calypso/client/state/comments/constants.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 312 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/comments/constants.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/state/comments/constants.js
-
curl -L -o constants.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/comments/constants.js
312 Bytes
| export const NUMBER_OF_COMMENTS_PER_FETCH = 50; | |
| export const PLACEHOLDER_STATE = { | |
| PENDING: 'PENDING', | |
| ERROR: 'ERROR', | |
| }; | |
| // values conveniently also correspond to css classNames to apply | |
| export const POST_COMMENT_DISPLAY_TYPES = { | |
| singleLine: 'is-single-line', | |
| excerpt: 'is-excerpt', | |
| full: 'is-full', | |
| }; | |