mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-13 19:30:30 +00:00
27 lines
564 B
JavaScript
27 lines
564 B
JavaScript
import React from 'react';
|
|
import { AccountDialogProvider } from './AccountDialogProvider';
|
|
import AccountDialogForm from './AccountDialogForm';
|
|
|
|
/**
|
|
* Account dialog content.
|
|
*/
|
|
export default function AccountDialogContent({
|
|
dialogName,
|
|
accountId,
|
|
action,
|
|
parentAccountId,
|
|
accountType,
|
|
}) {
|
|
return (
|
|
<AccountDialogProvider
|
|
dialogName={dialogName}
|
|
accountId={accountId}
|
|
action={action}
|
|
parentAccountId={parentAccountId}
|
|
accountType={accountType}
|
|
>
|
|
<AccountDialogForm />
|
|
</AccountDialogProvider>
|
|
);
|
|
}
|