Skip to content

Commit 13f7532

Browse files
committed
chore: update readme
1 parent 66f8bcc commit 13f7532

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

packages/create-invoice-form/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@ npm install @requestnetwork/create-invoice-form
2424

2525
You can directly pass props into the create-invoice-form web component without needing to create references or use workarounds.
2626

27-
##### Important Note on Currencies Prop
28-
29-
- The currencies prop is now optional.
30-
- If you include the currencies prop and follow the proper format, it will override the default currencies.
31-
- To use the default currencies list, simply omit the currencies prop.
32-
3327
```tsx
3428
import Head from "next/head";
3529
import { config } from "@/utils/config";
@@ -59,6 +53,12 @@ export default function CreateInvoice() {
5953
}
6054
```
6155

56+
### Important Note on Currencies Prop
57+
58+
- The currencies prop is now optional.
59+
- If you include the currencies prop and follow the proper format, it will override the default currencies.
60+
- To use the default currencies list, simply omit the currencies prop.
61+
6262
#### Example Override for Currencies
6363

6464
If you need to customize the currencies list, ensure you follow the correct format:

packages/invoice-dashboard/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@ npm install @requestnetwork/invoice-dashboard
2424

2525
You can directly pass props into the invoice-dashboard web component without needing to create references or use workarounds.
2626

27-
##### Important Note on Currencies Prop
28-
29-
- The currencies prop is now optional.
30-
- If you include the currencies prop and follow the proper format, it will override the default currencies.
31-
- To use the default currencies list, simply omit the currencies prop.
32-
3327
```tsx
3428
import Head from "next/head";
3529
import { config } from "@/utils/config";
@@ -59,6 +53,12 @@ export default function InvoiceDashboardPage() {
5953
}
6054
```
6155

56+
### Important Note on Currencies Prop
57+
58+
- The currencies prop is now optional.
59+
- If you include the currencies prop and follow the proper format, it will override the default currencies.
60+
- To use the default currencies list, simply omit the currencies prop.
61+
6262
#### Example Override for Currencies
6363

6464
If you need to customize the currencies list, ensure you follow the correct format:
@@ -153,7 +153,7 @@ export const config: IConfig = {
153153
| Accept Request ||
154154
| Cancel Request ||
155155
| Add Stakeholder ||
156-
| Native Payment | |
156+
| Native Payment | |
157157
| Conversion Payment ||
158158
| Batch Payment ||
159159
| Declarative Payment ||

0 commit comments

Comments
 (0)