mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
28 lines
585 B
TypeScript
28 lines
585 B
TypeScript
// @ts-nocheck
|
|
import React from 'react';
|
|
|
|
import ExchangeRateForm from './ExchangeRateForm';
|
|
import { ExchangeRateFormProvider } from './ExchangeRateFormProvider';
|
|
|
|
import '@/style/pages/ExchangeRate/ExchangeRateDialog.scss';
|
|
|
|
/**
|
|
* Exchange rate form content.
|
|
*/
|
|
export default function ExchangeRateFormDialogContent({
|
|
// #ownProp
|
|
action,
|
|
exchangeRateId,
|
|
dialogName,
|
|
}) {
|
|
return (
|
|
<ExchangeRateFormProvider
|
|
dialogName={dialogName}
|
|
exchangeRate={exchangeRateId}
|
|
action={action}
|
|
>
|
|
<ExchangeRateForm />
|
|
</ExchangeRateFormProvider>
|
|
);
|
|
}
|