Skip to content

Commit 694dc21

Browse files
authored
Add getting started page and branding (#26)
* Add badges * Add getting started page * Add link to docs at top of README * Add favicon
1 parent 3e789c7 commit 694dc21

File tree

4 files changed

+22
-1
lines changed

4 files changed

+22
-1
lines changed

.storybook/main.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
module.exports = {
2-
stories: ["../src/**/*.stories.@(js|jsx|ts|tsx)"],
2+
stories: [
3+
"../src/**/*.stories.mdx",
4+
"../src/**/*.stories.@(js|jsx|ts|tsx)",
5+
],
36
addons: ["@storybook/addon-links", "@storybook/addon-essentials"],
47
};

.storybook/manager-head.html

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<link
2+
rel="icon"
3+
type="image/png"
4+
href="https://www.paypalobjects.com/favicon.ico"
5+
/>

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
React components for the [PayPal JS SDK](https://developer.paypal.com/docs/business/javascript-sdk/javascript-sdk-reference/).
44

5+
<a href="https://www.npmjs.com/package/@paypal/react-paypal-js"><img src="https://img.shields.io/npm/v/@paypal/react-paypal-js?style=flat-square" alt="npm version"></a>
6+
<a href="https://github.com/paypal/react-paypal-js/blob/main/LICENSE.txt"><img src="https://img.shields.io/npm/l/@paypal/react-paypal-js?style=flat-square" alt="github license"></a>
7+
<a href="https://david-dm.org/paypal/react-paypal-js"><img src="https://img.shields.io/david/paypal/react-paypal-js?style=flat-square" alt="dependencies"></a>
8+
<a href="https://david-dm.org/paypal/react-paypal-js?type=dev"><img src="https://img.shields.io/david/dev/paypal/react-paypal-js?style=flat-square" alt="dev dependencies"></a>
9+
10+
https://paypal.github.io/react-paypal-js/
11+
512
## Installation
613

714
To get started, install react-paypal-js with npm.
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { Meta, Description } from '@storybook/addon-docs/blocks';
2+
import Readme from '../../README.md';
3+
4+
<Meta title="Getting Started" />
5+
6+
<Description>{Readme}</Description>

0 commit comments

Comments
 (0)