LiveProps
Defined in: react/src/Live.tsx:21
Properties
Section titled “Properties”children?
Section titled “children?”
optionalchildren?:ReactNode
Defined in: react/src/Live.tsx:28
Shown in the slot while there is no player: a poster, a line of text, or nothing.
className?
Section titled “className?”
optionalclassName?:string
Defined in: react/src/Live.tsx:24
live:
LiveBlock|null|undefined
Defined in: react/src/Live.tsx:23
The block to play: state.live from useIsland, or parts.live in a Hero layout.
style?
Section titled “style?”
optionalstyle?:CSSProperties
Defined in: react/src/Live.tsx:26
Merged over the slot’s own style, so a different ratio or size is yours to set.