Repository URL to install this package:
Version:
0.14.1 ▾
|
import { styled } from 'styleh-components'
export const StyledIFrameWrap = styled.div `
position: relative;
${props =>
props.width &&
props.height &&
styled.css `
width: ${props.width};
height: ${props.height};
`};
`
export const StyledIFrame = styled.iframe `
width: 100%;
height: 100%;
`