Sha256: 905906d2b0d993af69237c271612f9060872cfa0c679a6ac3173a60fc4271b17
Contents?: true
Size: 752 Bytes
Versions: 153
Compression:
Stored size: 752 Bytes
Contents
import React from 'react'; import PropTypes from 'prop-types'; import { Grid } from 'patternfly-react'; import Terminal from '../Terminal'; import ScheduledRun from '../ScheduledRun'; import './tabBody.scss'; const TabBody = ({ exitCode, logs, error, scheduled }) => ( <Grid.Row className="tab_body"> <Terminal logs={logs} exitCode={exitCode} error={error} /> <ScheduledRun date={scheduled} /> </Grid.Row> ); TabBody.propTypes = { exitCode: PropTypes.string, logs: PropTypes.oneOfType([ PropTypes.arrayOf(PropTypes.string), PropTypes.string, ]), error: PropTypes.string, scheduled: PropTypes.string, }; TabBody.defaultProps = { exitCode: '', logs: null, error: null, scheduled: null, }; export default TabBody;
Version data entries
153 entries across 153 versions & 2 rubygems