Kapi Link
The CalculationTable component has optional requestUIState and kapiLink props with the following structure:
requestUIState?: UIControls;
kapiLink?: {
enabled: boolean;
position?: "left" | "right";
showLanguageSelect?: boolean;
}
The position attribute is optional, default value is left.
To construct the correct kapi link, the requestUIState also has to be set. The requestUIState can be retrieved from the callback of the CalcGatewayForm component.
The optional showLanguageSelect attribute can be used to toggle a language select dropdown. This dropdown menu then can be used by the user to change the locale of the kapi link.