Here's an example of basic usage:
widgetJSX(`
<Widget size="medium" background="#1b1b1b:0.5,#1b1b4b:1" padding="10,10,10,10">
// Get Team ID from https://www.thesportsdb.com and add it as widget parameter | |
const TEAM_ID = args.widgetParameter || 133987 | |
const DARK_MODE = true | |
const widgetSize = config.widgetFamily || 'medium' | |
const textSize = 9.5 | |
const logoSize = 38 | |
const logoSmallSize = 22 | |
const spacing = { normal: 8, smaller: 6, vs: 5, widget: 10 } |