mirror of
https://github.com/yldio/copilot.git
synced 2024-12-01 07:30:07 +02:00
seperating toggle into seperate component file
This commit is contained in:
parent
acb2107fc9
commit
e3131a3835
@ -3,13 +3,13 @@ const ReactRedux = require('react-redux');
|
|||||||
|
|
||||||
const EmptyServices = require('@components/empty/services');
|
const EmptyServices = require('@components/empty/services');
|
||||||
const PropTypes = require('@root/prop-types');
|
const PropTypes = require('@root/prop-types');
|
||||||
const ServiceItem = require('@components/service-item');
|
const ServiceItem = require('@components/service/item');
|
||||||
|
const ServiceViewToggle = require('@components/service/view-toggle');
|
||||||
const selectors = require('@state/selectors');
|
const selectors = require('@state/selectors');
|
||||||
|
|
||||||
const Row = require('@ui/components/row');
|
const Row = require('@ui/components/row');
|
||||||
const Column = require('@ui/components/column');
|
const Column = require('@ui/components/column');
|
||||||
const BaseELements = require('@ui/components/base-elements');
|
const BaseELements = require('@ui/components/base-elements');
|
||||||
const Toggle = require('@ui/components/toggle');
|
|
||||||
|
|
||||||
const {
|
const {
|
||||||
connect
|
connect
|
||||||
@ -47,11 +47,9 @@ const Services = ({
|
|||||||
<Row>
|
<Row>
|
||||||
<Column xs={12}>
|
<Column xs={12}>
|
||||||
<H2>Services</H2>
|
<H2>Services</H2>
|
||||||
<div>
|
|
||||||
<span>View</span>
|
<ServiceViewToggle />
|
||||||
<Toggle
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
{empty}
|
{empty}
|
||||||
{serviceList}
|
{serviceList}
|
||||||
</Column>
|
</Column>
|
||||||
|
Loading…
Reference in New Issue
Block a user