collapsible-react-component
Advanced tools
Comparing version
@@ -5,3 +5,3 @@ var React = require('react'); | ||
var useIsomorphicLayoutEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect; | ||
var useIsomorphicLayoutEffect = typeof document !== 'undefined' ? React.useLayoutEffect : React.useEffect; | ||
@@ -8,0 +8,0 @@ var Collapsible = function Collapsible(_ref) { |
@@ -5,3 +5,3 @@ import { useLayoutEffect, useEffect, useState, useCallback, useMemo, createElement } from 'react'; | ||
var useIsomorphicLayoutEffect = typeof window !== 'undefined' ? useLayoutEffect : useEffect; | ||
var useIsomorphicLayoutEffect = typeof document !== 'undefined' ? useLayoutEffect : useEffect; | ||
@@ -8,0 +8,0 @@ var Collapsible = function Collapsible(_ref) { |
{ | ||
"name": "collapsible-react-component", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Collapses and expands content with an animation.", | ||
@@ -5,0 +5,0 @@ "author": "FilipChalupa", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
18273
0.07%