Skip to content

Commit

Permalink
reordered opacityTransition to transition props
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmoud-zino committed Jul 14, 2023
1 parent e4e93d9 commit 6df83bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/skeleton/src/lib/utilities/Drawer/Drawer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@
export let height: CssClasses = '';
/** Provide a class to override the z-index */
export let zIndex: CssClasses = 'z-40';
/** Drawer - Enable/Disable opacity transition */
export let opacityTransition = true;
// Props (regions)
/** Provide arbitrary classes to the backdrop region. */
Expand All @@ -71,6 +69,8 @@
* @type {boolean}
*/
export let transitions = !$prefersReducedMotionStore;
/** Drawer - Enable/Disable opacity transition */
export let opacityTransition = true;
// Presets
// prettier-ignore
Expand Down

0 comments on commit 6df83bf

Please sign in to comment.