Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F123100976
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
Thu, Jul 24, 20:06
Size
469 B
Mime Type
text/x-java
Expires
Sat, Jul 26, 20:06 (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