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