Update views to support a more logical container

This commit is contained in:
Dane Everitt 2020-04-17 11:17:01 -07:00
parent e044e8db1c
commit e6a61fbe9b
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
20 changed files with 85 additions and 39 deletions

View file

@ -4,12 +4,13 @@ import { CSSTransition } from 'react-transition-group';
interface Props {
children: React.ReactNode;
className?: string;
}
export default ({ children }: Props) => (
export default ({ className, children }: Props) => (
<CSSTransition timeout={250} classNames={'fade'} appear={true} in={true}>
<>
<ContentContainer className={'my-10'}>
<ContentContainer className={`my-10 ${className}`}>
{children}
</ContentContainer>
<ContentContainer className={'mb-4'}>