This commit is contained in:
2025-08-23 18:40:03 +09:00
parent e79688783e
commit 7e2d94fdc0
15 changed files with 80 additions and 57 deletions
+3 -3
View File
@@ -4,10 +4,10 @@ type Props = { id: string,
height: number,
style?: CSSProperties }
import type { CSSProperties } from 'react'
import type { CSSProperties, FC } from 'react'
export default (props: Props) => {
export default ((props: Props) => {
const { id, width, height, style = { } } = props
const iframeRef = useRef<HTMLIFrameElement> (null)
@@ -108,4 +108,4 @@ export default (props: Props) => {
style={margedStyle}
allowFullScreen
allow="autoplay"/>)
}
}) satisfies FC<Props>