mirror of
https://github.com/plausible/analytics.git
synced 2024-12-23 01:22:15 +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>
|
||
|
}
|
||
|
|