mirror of
https://github.com/plausible/analytics.git
synced 2024-12-30 04:52:13 +03:00
e7593ce94f
* add 1st-party langauge agnnostic pre-commit hooks
* white space fixes from pre-commit run -av
* fix CI test/plausible_web/controllers/stats_controller_test.exs#L153
* Revert "fix CI test/plausible_web/controllers/stats_controller_test.exs#L153"
This reverts commit 85c9450efe
.
* git checkout 94f476eb~1 -- priv/ref_inspector priv/ua_inspector
12 lines
232 B
JavaScript
12 lines
232 B
JavaScript
import React from 'react';
|
|
|
|
export default function FadeIn({className, show, children}) {
|
|
return (
|
|
<div
|
|
className={`${className || ''} ${show ? "fade-enter-active" : "fade-enter"}`}
|
|
>
|
|
{children}
|
|
</div>
|
|
)
|
|
}
|