UNPKG

@finagraph/strongbox-finconnect-react

Version:

React components to integrate with Finagraph Strongbox

24 lines (23 loc) 1.04 kB
import * as React from 'react'; import '../styles.scss'; import { AccountingPackage } from '../Models/AccountingPackages'; import { Theme } from '../Models/Theme/Theme'; import { TextContent } from '../Text/TextContent'; export type SupportedAccountingPackages = AccountingPackage.QuickBooksDesktop | AccountingPackage.QuickBooksOnline | AccountingPackage.SageIntacct | AccountingPackage.Xero | AccountingPackage.Example; export declare const SupportedAccountingPackagesList: AccountingPackage[]; export type AccountingPackageToShow = { descriptor?: string; package: SupportedAccountingPackages; }; export type ChoosePackageProps = { accountingPackages?: AccountingPackageToShow[]; theme?: Theme; abort?: () => void; showLinkDialog: (accountingPackage: AccountingPackage) => void; children?: JSX.Element; textContent: TextContent; authWindowActive: boolean; buttonsDisabled: boolean; }; declare const ChoosePackage: React.FC<ChoosePackageProps>; export default ChoosePackage;