"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = (0, tslib_1.__importStar)(require("react"));
var classnames_1 = (0, tslib_1.__importDefault)(require("../../../utils/classnames"));
function Tips(_a) {
    var _b;
    var 
    // 系统属性
    className = _a.className, 
    // 组件属性
    tips = _a.tips, type = _a.type, id = _a.id, style = _a.style;
    var cls = (0, classnames_1.default)((_b = {
            'weda-ui': true,
            'weda-tips': true,
            'weui-cells__tips': !!tips,
            'weui-cells__tips_warn': !!tips && type === 'warn'
        },
        _b[className] = className,
        _b));
    return (React.createElement("div", { className: cls, id: id, style: style }, tips));
}
exports.default = Tips;
//# sourceMappingURL=index.js.map