mirror of
https://github.com/kmc7468/arkvault.git
synced 2025-12-18 16:08:48 +00:00
컴포넌트 관련 사소한 리팩토링
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
textClass?: ClassValue;
|
||||
}
|
||||
|
||||
let { name, subtext, ...props }: Props = $props();
|
||||
let { class: className, name, subtext, textClass: textClassName }: Props = $props();
|
||||
</script>
|
||||
|
||||
{#snippet subtextSnippet()}
|
||||
@@ -21,8 +21,8 @@
|
||||
<IconLabel
|
||||
icon={IconCategory}
|
||||
subtext={subtext ? subtextSnippet : undefined}
|
||||
class={props.class}
|
||||
textClass={props.textClass}
|
||||
class={className}
|
||||
textClass={textClassName}
|
||||
>
|
||||
{name}
|
||||
</IconLabel>
|
||||
|
||||
Reference in New Issue
Block a user