Repository URL to install this package:
|
Version:
2.8.0-studio-release ▾
|
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.withComponent('iframe') `
width: 100%;
height: 100%;
`