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
./srcand writing tests in./tests npm run build
npm run build-
Edit tests in
./test/tests -
Run the tests:
npm run test
npm run karma -- --browser=PhantomJS
npm run karma -- --browser=Chrome
npm run karma -- --browser=Safari
npm run karma -- --browser=Firefox
npm run karma -- --browser=PhantomJS,Chrome,Safari,Firefoxnpm run karma -- --browser=Chrome --keep-open- Delete the example code in
./src,./test/testsand./demo - Edit the module name in
package.json - Edit
README.mdandCONTRIBUTING.md
- Publish your code:
npm run releaseto add a patch- Or
npm run release:path,npm run release:minor,npm run release:major
- Or