Add Fadable component

This commit is contained in:
Tom Raithel
2017-02-25 23:34:25 +01:00
parent 5e57c9caae
commit 5f20c00bec
9 changed files with 163 additions and 46 deletions

View File

@@ -1,10 +1,11 @@
import React from 'react';
import HeroHeadline from './HeroHeadline';
import Fadeable from './Fadeable';
export default function PageHelp() {
export default function PageHelp({ leaving, onLeave }) {
return (
<div>
<Fadeable leaving={leaving} onLeave={onLeave}>
<HeroHeadline>How to use AOE Technology Radar</HeroHeadline>
</div>
</Fadeable>
);
}