Download wp-calypso/packages/composite-checkout/src/components/default-steps.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 535 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/composite-checkout/src/components/default-steps.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/packages/composite-checkout/src/components/default-steps.tsx
-
curl -L -o default-steps.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/composite-checkout/src/components/default-steps.tsx
535 Bytes
| import CheckoutPaymentMethods, { CheckoutPaymentMethodsTitle } from './checkout-payment-methods'; | |
| import type { CheckoutStepProps } from '../types'; | |
| export function getDefaultPaymentMethodStep(): CheckoutStepProps { | |
| return { | |
| stepId: 'payment-method-step', | |
| isCompleteCallback: () => true, | |
| className: 'checkout__payment-method-step', | |
| titleContent: <CheckoutPaymentMethodsTitle />, | |
| activeStepContent: <CheckoutPaymentMethods isComplete={ false } />, | |
| completeStepContent: <CheckoutPaymentMethods summary isComplete />, | |
| }; | |
| } | |