src/components/StripeCardInput/helpers/getCardElementOptions.js
Function getCardElementOptions
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function getCardElementOptions(theme, disabled, size) {
const fontSize = SIZES[size] || SIZES.medium;
return {
style: {
base: {