import React from 'react';
import { Label } from '@patternfly/react-core';
const EnvironmentLabels = (environments) => {
const { environments: singleEnvironment } = environments || {};
const { name } = singleEnvironment || {};
switch (environments) {
case Array:
return environments.map(env => (
));
default:
return (
);
}
};
export default EnvironmentLabels;