Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/excaliburjs/Excalibur. 🎮 Your friendly TypeScript 2D game engine for the web 🗡️ excaliburjs.com
excalibur excaliburjs game-development game-engine game-framework gamedev games html5-canvas typescript
Something went wrong. Try again.
635 B · 19 lines
TSX
1234567891011121314151617181920import React, { ComponentProps } from 'react'import IFrameEmbed from './IFrameEmbed'
export default ({ src, title, ...props }: ComponentProps<typeof IFrameEmbed>) => ( <IFrameEmbed src={src} style={{ width: '100%', height: '700px', border: 0, borderRadius: '4px', overflow: 'hidden', }} title={title} allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking" sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts" {...props} />)