import React from 'react'
import { Grid, Container, Typography } from '@toptal/picasso'
import { SPACING_4, palette, useBreakpoint } from '@toptal/picasso-utils'
const ScreenSize = () => {
const isExtraLarge = useBreakpoint('xl')
const isLarge = useBreakpoint('lg')
const isMedium = useBreakpoint('md')
if (isExtraLarge) {
return <>Extra Large>
}
if (isLarge) {
return <>Large>
}
if (isMedium) {
return <>Medium>
}
return <>Small>
}
type Props = { children: React.ReactNode }
const ContentContainer = ({ children }: Props) => (
{children}
)
const Example = () => {
return (
)
}
export default Example