mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
27 lines
568 B
JavaScript
27 lines
568 B
JavaScript
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>
|
|
);
|
|
}
|