React Web
Changelog
1.0.0
💥

Breaking change

  • country prop is now required in the Volume component, and must be a valid ISO 3166-1 alpha-2 country code.
import { Volume } from '@getvolume/react'
 
export default function MyComponent() {
  return (
      <Volume
        amount={50}
        currency='GBP'
        reference='Example Reference'
        country='GB'
        merchantPaymentId='123456'
      />
  )
}