Download wp-calypso/client/landing/stepper/utils/step-with-required-login.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 226 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/landing/stepper/utils/step-with-required-login.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/landing/stepper/utils/step-with-required-login.ts
-
curl -L -o step-with-required-login.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/landing/stepper/utils/step-with-required-login.ts
226 Bytes
| import type { StepperStep } from 'calypso/landing/stepper/declarative-flow/internals/types'; | |
| export const stepWithRequiredLogin = ( step: StepperStep ): StepperStep => ( { | |
| ...step, | |
| requiresLoggedInUser: true as const, | |
| } ); | |