2017-06-28 20:36:54 +03:00
|
|
|
import Baseline from '../baseline';
|
|
|
|
// eslint-disable-next-line no-unused-vars
|
|
|
|
import React from 'react';
|
2017-08-14 13:21:45 +03:00
|
|
|
import styled from 'styled-components';
|
2017-06-28 20:36:54 +03:00
|
|
|
|
|
|
|
import HealthyIcon from './svg/icon_healthy.svg';
|
|
|
|
|
2017-08-14 13:21:45 +03:00
|
|
|
const StyledHealthyIcon = styled(HealthyIcon)`
|
|
|
|
fill: ${props => !props.healthy || props.healthy === 'HEALTHY'
|
|
|
|
? props.theme.green : props.theme.orange};
|
|
|
|
`;
|
|
|
|
|
|
|
|
export default Baseline(StyledHealthyIcon);
|