Skip to main content
function calculateSecureIframeHeight(theme?: Partial<SecureIframeTheme>): number;
Calculates the height of the secure iframe based on button size and font size.

Parameters

ParameterTypeDescription
theme?Partial<SecureIframeTheme>Optional theme with buttonSize and buttonFontSize.

Returns

number The calculated height in pixels.