"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get Anchor () {
        return Anchor;
    },
    get Default () {
        return Default;
    }
});
var _react = /*#__PURE__*/ _interop_require_default(require("react"));
var _plasmasbutils = require("@salutejs/plasma-sb-utils");
var _ = require(".");
function _define_property(obj, key, value) {
    if (key in obj) {
        Object.defineProperty(obj, key, {
            value: value,
            enumerable: true,
            configurable: true,
            writable: true
        });
    } else {
        obj[key] = value;
    }
    return obj;
}
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
function _object_spread(target) {
    for(var i = 1; i < arguments.length; i++){
        var source = arguments[i] != null ? arguments[i] : {};
        var ownKeys = Object.keys(source);
        if (typeof Object.getOwnPropertySymbols === "function") {
            ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
                return Object.getOwnPropertyDescriptor(source, sym).enumerable;
            }));
        }
        ownKeys.forEach(function(key) {
            _define_property(target, key, source[key]);
        });
    }
    return target;
}
var defaultProps = {
    view: 'default',
    size: 'l',
    pin: 'square-square',
    disabled: false,
    outlined: true,
    focused: false,
    contentType: 'Text',
    isLoading: false,
    onClick: function() {},
    onFocus: function() {},
    onBlur: function() {}
};
var text = 'Label';
var Default = function() {
    return /*#__PURE__*/ _react.default.createElement(_.Button, _object_spread({
        text: text,
        contentLeft: /*#__PURE__*/ _react.default.createElement(_plasmasbutils.IconPlaceholder, null),
        contentRight: /*#__PURE__*/ _react.default.createElement(_plasmasbutils.IconPlaceholder, null)
    }, defaultProps));
};
var Anchor = function() {
    return /*#__PURE__*/ _react.default.createElement(_.Button, _object_spread({
        as: "a",
        text: text,
        contentLeft: /*#__PURE__*/ _react.default.createElement(_plasmasbutils.IconPlaceholder, null),
        contentRight: /*#__PURE__*/ _react.default.createElement(_plasmasbutils.IconPlaceholder, null)
    }, defaultProps));
};
