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