Sha256: 0fb33e27b060beac0c2eb1e0ca9ab26bdc76a01551602aba4b7de64193c341fa
Contents?: true
Size: 439 Bytes
Versions: 23
Compression:
Stored size: 439 Bytes
Contents
import React from 'react'; import { Label } from '@patternfly/react-core'; import { CheckCircleIcon } from '@patternfly/react-icons'; import { ADDED, NOT_ADDED } from '../../ContentViewsConstants'; const RepoAddedStatus = ({ added }) => { if (added) { return ( <Label variant="outline" color="green" icon={<CheckCircleIcon />}> {ADDED} </Label> ); } return NOT_ADDED; }; export default RepoAddedStatus;
Version data entries
23 entries across 23 versions & 1 rubygems