Rev 7023 | AutorÃa | Comparar con el anterior | Ultima modificación | Ver Log |
import React from 'react'
import { styled } from 'styled-components'
const LocationWidget = styled.div`
background: var(--bg-color);
border: 1px solid var(--border-primary);
border-radius: var(--border-radius);
height: fit-content;
box-shadow: var(--light-shadow);
@media (max-width: 768px) {
border-radius: 0;
border-left: 0;
border-right: 0;
}
`
const WidgetLayout = ({ children, ...rest }) => {
return <LocationWidget {...rest}>{children}</LocationWidget>
}
export default WidgetLayout