Skip to content

Commit

Permalink
Fix: interface import issue in vue 3, using interface directly in Col…
Browse files Browse the repository at this point in the history
…lapsible component
  • Loading branch information
juzser committed Feb 13, 2023
1 parent 05da4d5 commit 5a6b0db
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 7 additions & 1 deletion src/components/Collapsible/Collapsible.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@ div(
import { computed, onMounted, onUpdated, ref, watch } from 'vue';
import { classNames } from '@/utilities/css';
import styles from '@/classes/Collapsible.json';
import type { TransitionCollapsible } from './utils';
interface TransitionCollapsible {
/** Assign a transition duration to the collapsible animation. */
duration?: string;
/** Assign a transition timing function to the collapsible animation */
timingFunction?: string;
}
interface CollapsibleProps {
/** Assign a unique ID to the collapsible. For accessibility, pass this ID as the value of the triggering component’s aria-controls prop. */
Expand Down
6 changes: 0 additions & 6 deletions src/components/Collapsible/utils.ts

This file was deleted.

0 comments on commit 5a6b0db

Please sign in to comment.