Logos for PayPal SDKs.
/** @jsx node */
import { PayPalLogo, LOGO_COLOR } from "paypal-sdk-logos";
import { node, html } from "@krakenjs/jsx-pragmatic/src";
function render() {
return (<PayPalLogo logoColor={LOGO_COLOR.WHITE} />).render(html());
}
/** @jsx node */
import React from "react";
import { PayPalLogo, LOGO_COLOR } from "paypal-sdk-logos";
import { node, react } from "@krakenjs/jsx-pragmatic/src";
function render() {
return (<PayPalLogo logoColor={LOGO_COLOR.WHITE} />).render(react({ React }));
}
import { PayPalLogo, LOGO_COLOR } from 'paypal-sdk-logos';
import { html } from '@krakenjs/jsx-pragmatic/src';
function render() {
return PayPalLogo({ logoColor: LOGO_COLOR.WHITE });
.render(html());
}
- Fork the module
- Run setup:
npm run setup
- Start editing code in
./src
and writing tests in./tests
npm run build
npm run build
-
Edit tests in
./test/tests
-
Run the tests:
npm run test
For detailed instructions on publishing the package and deploying the logos to the CDN, refer to the Contributing Guide.
- Publishing: Learn how to publish the package, including alpha and main branch releases, in the Publishing section.
- Deploying to CDN: Follow the steps to deploy the
cdn
folder using the PayPal Web CLI or the UI in the Deploying Logos to the CDN section.