instacart/Snacks

View on GitHub
src/components/ScrollTrack/ScrollTrackPropTypes.js

Summary

Maintainability
A
2 hrs
Test Coverage
import PropTypes from 'prop-types'

const propTypes = {
  trackProps: PropTypes.shape({
    isSliding: PropTypes.bool,
    showLeftArrow: PropTypes.bool,
    showRightArrow: PropTypes.bool,
    left: PropTypes.number,
    parentWidth: PropTypes.number,
    trackWidth: PropTypes.number,
    trackBounds: PropTypes.object,
  }),
}

export default propTypes