{"version":3,"file":"button.cjs","sources":["../../../../../packages/src/button/button.vue"],"sourcesContent":["<template>\n    <el-button v-bind=\"$attrs\" :style=\"style\"><slot></slot></el-button>\n</template>\n\n<script setup name=\"kr-button\">\nimport { computed } from \"vue\";\nimport { ElButton } from \"element-plus\";\n\nconst props = defineProps({\n    fontSize: {\n        type: [Number, String],\n        default: \"\",\n    },\n});\n\nconst style = computed(() => {\n    if (!props.fontSize) return {};\n    return {\n        \"font-size\": props.fontSize + \"px\",\n    };\n});\n</script>\n"],"names":["style","computed","props"],"mappings":"8RAeAA,EAAAC,EAAA,SAAA,IACAC,EAAA,SACA,CACA,YAAAA,EAAA,SAAA,IACA,EAHA,EAIA"}