analytics/assets/js/dashboard/fade-in.js

13 lines
233 B
JavaScript
Raw Normal View History

import React from 'react';
2021-06-15 10:34:43 +03:00
export default function FadeIn({className, show, children}) {
return (
<div
className={`${className || ''} ${show ? "fade-enter-active" : "fade-enter"}`}
>
{children}
</div>
)
}