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