react-code-dataset / wp-calypso /client /my-sites /checkout /src /components /payment-method-logos.js
react-code-dataset / wp-calypso /client /my-sites /checkout /src /components /payment-method-logos.js
Download wp-calypso/client/my-sites/checkout/src/components/payment-method-logos.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 404 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/checkout/src/components/payment-method-logos.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/my-sites/checkout/src/components/payment-method-logos.js
-
curl -L -o payment-method-logos.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/checkout/src/components/payment-method-logos.js
404 Bytes
| import styled from '@emotion/styled'; | |
| export const PaymentMethodLogos = styled.span` | |
| display: flex; | |
| flex: 1; | |
| flex-wrap: wrap; | |
| gap: 5px; | |
| text-align: end; | |
| align-items: center; | |
| justify-content: flex-start; | |
| &.credit-card__logos svg { | |
| display: inline-block; | |
| height: 26px; | |
| width: 42px; | |
| } | |
| @media ( ${ ( props ) => props.theme.breakpoints.smallPhoneUp } ) { | |
| justify-content: flex-end; | |
| } | |
| `; | |