text: import { connect } from 'react-redux';
  import { getProductVariantsProducts, getSizeCharacteristics } from '../../variants/selectors';
  
  /**
   * @param {Object} state state
   * @param {Object} props props
   * @returns {Object}
   */
  const mapStateToProps = (state, { productId }) => ({
    swatches: getSizeCharacteristics(state, { productId }),
    products: getProductVariantsProducts(state, { productId }),
  });
  
  export default connect(mapStateToProps);
  