Passing Props in Component
This commit is contained in:
parent
f4fabbb719
commit
da85fb9d1e
|
|
@ -2,7 +2,6 @@ import { useState } from 'react';
|
||||||
import { IoMdAdd, IoMdSettings } from 'react-icons/io';
|
import { IoMdAdd, IoMdSettings } from 'react-icons/io';
|
||||||
import { DefaultModal } from '../../../../Components/Modal/DefaultModal';
|
import { DefaultModal } from '../../../../Components/Modal/DefaultModal';
|
||||||
import TooltipWrapper from '../../../../Components/Tooltip/Tooltip';
|
import TooltipWrapper from '../../../../Components/Tooltip/Tooltip';
|
||||||
|
|
||||||
import './AllSalesPageSettings.scss';
|
import './AllSalesPageSettings.scss';
|
||||||
import TableHeadersetting from './TableHeadersetting';
|
import TableHeadersetting from './TableHeadersetting';
|
||||||
import PaymentOptions from '../../../Payment/PaymentOptions/PaymentOptions';
|
import PaymentOptions from '../../../Payment/PaymentOptions/PaymentOptions';
|
||||||
|
|
@ -62,7 +61,7 @@ const AllSalesPageSettings = () => {
|
||||||
<div className="SettingsComponentDiv">
|
<div className="SettingsComponentDiv">
|
||||||
{selectedComponent == 'Payment' && (
|
{selectedComponent == 'Payment' && (
|
||||||
<div>
|
<div>
|
||||||
<PaymentOptions />
|
<PaymentOptions setModalOpen={setsettingModal}/>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue