mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 01:15:22 +00:00
dc4b97d15f
- Refactor imports of PropTypes to use the prop-types package - Upgrade dependencies that were setting off deprecation warnings
13 lines
245 B
JavaScript
13 lines
245 B
JavaScript
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
|
|
const NumberPill = ({ number }) => {
|
|
return <span className="number-pill">{number}</span>;
|
|
};
|
|
|
|
NumberPill.propTypes = {
|
|
number: PropTypes.number,
|
|
};
|
|
|
|
export default NumberPill;
|