import _extends from"@babel/runtime/helpers/extends";import _objectWithoutProperties from"@babel/runtime/helpers/objectWithoutProperties";var _excluded=["mode","children","to"];import{createScopedElement}from"../../lib/jsxRuntime";import{classNames}from"../../lib/classNames";import"./Gradient.css";var Gradient=function(e){var t=e.mode,r=e.children,o=e.to,e=_objectWithoutProperties(e,_excluded);return createScopedElement("div",_extends({role:"presentation"},e,{vkuiClass:classNames("Gradient","Gradient--md-".concat(t),"Gradient--to-".concat(o))}),r)};Gradient.defaultProps={mode:"tint",to:"top"};export default Gradient;