/**
* Set the attributes for the Background transformations.
*
* @param {Object} props The passed props.
* @returns {Object} The background transforms.
*/
function BackgroundTransforms( props ) {
const transforms = {
backgroundColor: props.backgroundColor,
customBackgroundColor: props.customBackgroundColor,
backgroundImg: props.backgroundImg,
backgroundOverlay: props.backgroundOverlay,
backgroundPosition: props.backgroundPosition,
backgroundRepeat: props.backgroundRepeat,
backgroundSize: props.backgroundSize,
hasParallax: props.hasParallax,
backgroundPadding: props.backgroundPadding,
backgroundPaddingMobile: props.backgroundPaddingMobile,
backgroundRadius: props.backgroundRadius,
captionStyle: props.captionStyle,
};
return transforms;
}
export default BackgroundTransforms;