diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..a7056f5 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,3 @@ +{ + "semi": false +} \ No newline at end of file diff --git a/src/components/core/JulienCalixte.vue b/src/components/core/JulienCalixte.vue index 51169f4..271c235 100644 --- a/src/components/core/JulienCalixte.vue +++ b/src/components/core/JulienCalixte.vue @@ -3,19 +3,25 @@ const fontSize = { small: "12px", normal: "inherit", big: "44px", -}; - -interface Props { - size?: keyof typeof fontSize; } -const props = withDefaults(defineProps(), { size: "normal" }); +interface Props { + version?: "compact" | "full" + size?: keyof typeof fontSize +} -const style = `font-size: ${fontSize[props.size]}`; +const props = withDefaults(defineProps(), { + version: "full", + size: "normal", +}) + +const style = `font-size: ${fontSize[props.size]}`