Modal, BeforeContinueModal 컴포넌트 추가

This commit is contained in:
static
2024-12-27 22:56:34 +09:00
parent 5a9ea3d91b
commit dec17ecba8
6 changed files with 105 additions and 10 deletions

View File

@@ -23,7 +23,14 @@
);
</script>
<button {onclick} class="{bgColorStyle} {fontColorStyle} h-12 h-full w-full rounded-xl font-medium">
<button
onclick={() => {
setTimeout(() => {
onclick?.();
}, 100);
}}
class="{bgColorStyle} {fontColorStyle} h-12 w-full rounded-xl font-medium"
>
<div class="h-full w-full p-3 transition active:scale-95">
{@render children?.()}
</div>