Download wp-calypso/client/state/editor/image-editor/constants.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 316 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/editor/image-editor/constants.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/state/editor/image-editor/constants.js
-
curl -L -o constants.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/editor/image-editor/constants.js
316 Bytes
| export const AspectRatios = { | |
| FREE: 'FREE', | |
| ORIGINAL: 'ORIGINAL', | |
| ASPECT_1X1: 'ASPECT_1X1', | |
| ASPECT_16X9: 'ASPECT_16X9', | |
| ASPECT_4X3: 'ASPECT_4X3', | |
| ASPECT_3X2: 'ASPECT_3X2', | |
| }; | |
| export const MinimumImageDimensions = { | |
| WIDTH: 50, | |
| HEIGHT: 50, | |
| }; | |
| export const AspectRatiosValues = Object.values( AspectRatios ); | |