'use strict';

var type = require('../_util/type.js');

const qrProps = () => {
  return {
    size: { type: Number, default: 160 },
    value: { type: String, required: true },
    color: String,
    includeMargin: Boolean,
    imageSettings: type.objectType()
  };
};
const qrcodeProps = () => {
  return {
    ...qrProps(),
    errorLevel: type.stringType("M"),
    icon: String,
    iconSize: { type: Number, default: 40 },
    status: type.stringType("active"),
    bordered: { type: Boolean, default: true }
  };
};

exports.qrProps = qrProps;
exports.qrcodeProps = qrcodeProps;
//# sourceMappingURL=interface.js.map
