
Security News
Security Community Slams MIT-linked Report Claiming AI Powers 80% of Ransomware
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.
@sezzle/sezzle-react-widget
Advanced tools
A react component of sezzle widget where props are used to provide config
@sezzle/sezzle-react-widget is a React-based component to render Sezzle's widget on React platforms.
Using npm:
npm install @sezzle/sezzle-react-widget
Within your product page, add the two following snippets in the appropriate locations:
import SezzleWidget from '@sezzle/sezzle-react-widget'
<SezzleWidget
  price={YOUR PRICE VARIABLE HERE}
  merchantId={'YOUR MERCHANT ID HERE'}
/>
The following props can be specified in the element to customize the widget's content and appearance
{price} (Required)
{merchantId} (Required)
{theme} (Optional)
{alignment} (Optional)
{fontWeight} (Optional)
{fontFamily} (Optional)
{fontSize} (Optional)
{textColor} (Optional)
{logoSize} (Optional)
{includeAPModal} (Optional)
{minPrice} (Optional)
{maxPrice} (Optional)
minPriceLT (optional)
Purpose: Minimum price for which purchase is eligible for long-term lending. Above this amount, the monthly installments with interest will be reflected in the widget and modal. Below this amount, the 4-pay widget and modal will render.
Type: number
Default: 0
Additional Details: The maxPrice option should be overwritten to 15000 for long-term.
bestAPR (optional)
Purpose: Standard APR rate by which interest should be calculated. Type: number Default: 9.99
<SezzleWidget
  price={'$29.99'}
  merchantId={'12a34bc5-6de7-890f-g123-4hi5678jk901'}
  theme={'light'}
  includeAPModal={false}
  minPrice={20}
  maxPrice={2500}
  fontWeight={500}
  fontFamily={'inherit'}
  fontSize={14}
  textColor={'inherit'}
  alignment={'auto'}
  logoSize={1}
/>
FAQs
A react component of sezzle widget where props are used to provide config
The npm package @sezzle/sezzle-react-widget receives a total of 623 weekly downloads. As such, @sezzle/sezzle-react-widget popularity was classified as not popular.
We found that @sezzle/sezzle-react-widget demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 13 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.

Research
/Security News
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.