Rev 7009 | Ir a la última revisión | 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);
width: 100%;
display: flex;
flex-direction: column;
gap: 1rem;
padding: 1rem 0;
@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