{ _x( 'Subscription Plans', 'text', 'nelio-ab-testing' ) }
( {
label: (
{ localize( displayName ) }
{ formatPrice(
id,
( price[ currency ] || 0 ) +
enabledAddons.reduce(
( acc, a ) =>
acc +
( a.price[ currency ] ||
0 ),
0
),
currency
) }
{ localize( description ) }
) as unknown as string,
value: id,
} )
) }
onChange={ ( option ) => {
if ( ! option ) {
return;
}
if ( 'nab-enterprise-placeholder' === option ) {
showEnterprise();
return;
}
setSelectedOption( option );
} }
/>