1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-11 05:40:11 +02:00

seperating toggle into seperate component file

This commit is contained in:
Alex Windett 2017-02-07 17:18:43 +00:00
parent acb2107fc9
commit e3131a3835

View File

@ -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>