MCPcopy Create free account
hub / github.com/baiwumm/react-admin / Iframe

Function Iframe

Xmw_web/src/components/Iframe/index.tsx:15–21  ·  view source on GitHub ↗
({ url })

Source from the content-addressed store, hash-verified

13}
14
15const Iframe: FC<IProps> = ({ url }) => {
16 return (
17 <div style={{ padding: '0 16px' }}>
18 <iframe src={url} width="100%" frameBorder='0' height="100%" style={{ height: 'calc(100vh - 150px)' }} />
19 </div>
20 )
21}
22export default Iframe

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected