import classnames from 'classnames';
import React from 'react';
import PropTypes from 'prop-types';
import { prefixClass } from '../Context';
const Count = props => (
parseInt(props.total, 10),
})}
>
parseInt(props.total, 10),
})}
>{props.length}
/
{props.total}
);
Count.defaultProps = {
length: 0,
total: undefined,
};
Count.propTypes = {
length: PropTypes.number,
total: PropTypes.number,
};
Count.displayName = 'Count';
export default Count;