26 lines
601 B
JavaScript
26 lines
601 B
JavaScript
import elementsRender from '../../config/elements-render';
|
|
import { id, title } from './config';
|
|
import PaymentsParams from './PaymentsParams';
|
|
import PaymentsTable from './PaymentsTable';
|
|
import { Flex, Grid } from 'ui/grid';
|
|
|
|
function Payments() {
|
|
const radioGraphType = elementsRender.radioGraphType.render();
|
|
|
|
return (
|
|
<Flex flexDirection="column">
|
|
<Grid gap="10px" gridTemplateColumns={['1fr', '1fr', '1fr 1fr']}>
|
|
{radioGraphType}
|
|
<PaymentsParams />
|
|
</Grid>
|
|
<PaymentsTable />
|
|
</Flex>
|
|
);
|
|
}
|
|
|
|
export default {
|
|
Component: Payments,
|
|
id,
|
|
title,
|
|
};
|