Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F123159405
ToastFade.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Jul 25, 08:27
Size
469 B
Mime Type
text/x-java
Expires
Sun, Jul 27, 08:27 (2 d)
Engine
blob
Format
Raw Data
Handle
27540674
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
ToastFade.js
View Options
import
*
as
React
from
'react'
;
import
{
ENTERING
,
EXITING
}
from
'react-transition-group/Transition'
;
import
Fade
from
'./Fade'
;
import
{
jsx
as
_jsx
}
from
"react/jsx-runtime"
;
const
fadeStyles
=
{
[
ENTERING
]
:
'showing'
,
[
EXITING
]
:
'showing show'
};
const
ToastFade
=
/*#__PURE__*/
React
.
forwardRef
((
props
,
ref
)
=>
/*#__PURE__*/
_jsx
(
Fade
,
{
...
props
,
ref
:
ref
,
transitionClasses
:
fadeStyles
}));
ToastFade
.
displayName
=
'ToastFade'
;
export
default
ToastFade
;
Event Timeline
Log In to Comment