my-orders-tickets-widget
v1.0.10
Published
Widget to display My Orders / Tickets
Keywords
Readme
My Orders / Tickets Widget
Widget to display My Orders / Tickets
My Orders / Tickets Widget config
PUBLISH TO NPM:
1 - yarn publish patch / npm version minor / npm version major
IMPORT:
import MyOrdersMyTicketsWidget from 'my-orders-tickets-widget'; import 'my-orders-tickets-widget/index.css';
Integration Notes
cross-fetch Resolution (Host App)
When integrating this widget, the host application must pin cross-fetch to version 3.1.8 via resolutions (yarn) or overrides (npm) in its package.json. This fixes a "Failed to execute 'fetch' on 'Window': Illegal invocation" error that occurs with @react-pdf/renderer when loading custom fonts.
"resolutions": {
"cross-fetch": "3.1.8"
},
"overrides": {
"cross-fetch": "3.1.8"
}See: https://github.com/diegomura/react-pdf/issues/3034
