@paypal/sdk-logos
v2.2.17-alpha-3b4f8af.0
Published
JSX/SVG logos for PayPal.
Downloads
3,005
Maintainers
Keywords
Readme
PayPal SDK Logos
Logos for PayPal SDKs.
Render using JSX with HTML
/** @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());
}Render using JSX with React
/** @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 }));
}Render using vanilla JavaScript and HTML
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());
}Quick Start
Getting Started
- Fork the module
- Run setup:
npm run setup - Start editing code in
./srcand writing tests in./tests npm run build
Building
npm run buildTests
Edit tests in
./test/testsRun the tests:
npm run test
Publishing & Deploying to CDN
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
cdnfolder using the PayPal Web CLI or the UI in the Deploying Logos to the CDN section.
