import React from 'react'; import cn from 'classnames'; import { Flex } from 'indigo-react'; import Footer from './Footer'; import useBreakpoints from 'lib/useBreakpoints'; // View is a top-level component that all Views must render to inherit styling function View({ className, children, inset = false, full = false, ...rest }) { const isMobile = useBreakpoints([true, false, false]); const shouldInset = inset && !isMobile; return ( {children} ); } // View.Full is sugar for to help with readability View.Full = function FullView(props) { return ; }; export default View;