Sha256: 4fb271124d0afd1e20dd17cbd15b5fb2fadc4693ab4636027bd1e300ba893476
Contents?: true
Size: 628 Bytes
Versions: 83
Compression:
Stored size: 628 Bytes
Contents
import React from 'react'; import { translate as __ } from 'foremanReact/common/I18n'; import TasksDonutCard from '../TasksDonutCard/TasksDonutCard'; const PausedTasksCard = ({ ...props }) => ( <TasksDonutCard title={__('Paused')} wantedQueryState="paused" id="paused-tasks-card" {...props} /> ); const filterUnwantedFields = obj => { const { title, wantedQueryState, ...newObj } = obj; return newObj; }; PausedTasksCard.propTypes = filterUnwantedFields(TasksDonutCard.propTypes); PausedTasksCard.defaultProps = filterUnwantedFields( TasksDonutCard.defaultProps ); export default PausedTasksCard;
Version data entries
83 entries across 83 versions & 1 rubygems