mirror of
https://github.com/plausible/analytics.git
synced 2024-12-21 00:21:43 +03:00
9 lines
198 B
JavaScript
9 lines
198 B
JavaScript
|
import React from 'react';
|
||
|
|
||
|
export default function FadeIn({show, children}) {
|
||
|
const className = show ? "fade-enter-active" : "fade-enter"
|
||
|
|
||
|
return <div className={className}>{children}</div>
|
||
|
}
|
||
|
|