Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | 6x | /* * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* Copyright (c) 2018 Mobify Research & Development Inc. All rights reserved. */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * */
import PropTypes from 'prop-types'
import {VariationPropertyValue} from './variation-property-value'
/**
* Represents things like "color", "size", "width", etc.
*
* @memberOf module:types
* @typedef {Object} VariationProperty
* @property {String} id The variation property id.
* @property {String} label The variation property label.
* @property {Array.<module:types.VariationPropertyValue>} values The variation property id.
*/
export const VariationProperty = {
id: PropTypes.string.isRequired,
label: PropTypes.string,
values: PropTypes.arrayOf(PropTypes.shape(VariationPropertyValue)),
}
|