## CurrencySelectorElement Use the `CurrencySelectorElement` from `@stripe/react-stripe-js/checkout` to allow customers to select the currency for their payment. The component must be rendered inside a [CheckoutProvider](/js/react_stripe_js/checkout/checkout_provider.md). ### Props - `id` (string) Sets the DOM `id` attribute on the rendered Element container. Use this to target the Element for styling or testing. - `className` (string) Applies custom CSS classes to the Element container. - `onReady` (function) Callback called once the Element is fully rendered. Recieves the [ready event payload](/js/element/events/on_ready.md#element_on_ready-handler). - `onBlur` (function) Callback called when the Element loses focus. - `onFocus` (function) Callback called when the Element receives focus. - `onEscape` (function) Callback called when the escape key is pressed within the Element. - `onLoaderStart` (function) Callback called right before Stripe displays the Element skeleton loader. Receives the Element instance as its only argument. - `onLoadError` (function) Callback called when the Element fails to load. ### Render CurrencySelectorElement ```jsx import React from 'react'; import {CheckoutProvider, CurrencySelectorElement} from '@stripe/react-stripe-js/checkout'; import {loadStripe} from '@stripe/stripe-js'; const stripePromise = loadStripe('{TEST_PUBLISHABLE_KEY}'); const App = ({clientSecret}) => ( ); export default App; ```