Skip to content

Commit 5a6b0db

Browse files
committed
Fix: interface import issue in vue 3, using interface directly in Collapsible component
1 parent 05da4d5 commit 5a6b0db

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/components/Collapsible/Collapsible.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ div(
1515
import { computed, onMounted, onUpdated, ref, watch } from 'vue';
1616
import { classNames } from '@/utilities/css';
1717
import styles from '@/classes/Collapsible.json';
18-
import type { TransitionCollapsible } from './utils';
18+
19+
interface TransitionCollapsible {
20+
/** Assign a transition duration to the collapsible animation. */
21+
duration?: string;
22+
/** Assign a transition timing function to the collapsible animation */
23+
timingFunction?: string;
24+
}
1925
2026
interface CollapsibleProps {
2127
/** Assign a unique ID to the collapsible. For accessibility, pass this ID as the value of the triggering component’s aria-controls prop. */

src/components/Collapsible/utils.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)