Update views to support a more logical container
This commit is contained in:
parent
e044e8db1c
commit
e6a61fbe9b
20 changed files with 85 additions and 39 deletions
|
@ -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'}>
|
||||
|
|
Reference in a new issue