DrawOnceProps
DrawOnceProps =
object
Defined in: components/draw-once.tsx:20
Properties
Section titled “Properties”children
Section titled “children”children:
React.ReactElement<{play?:boolean; }>
Defined in: components/draw-once.tsx:30
The child element whose play prop will be controlled. Must be a
single React element that accepts a play?: boolean prop (Logo, Seam).
name:
string
Defined in: components/draw-once.tsx:25
Unique key per draw target. Two <DrawOnce name="hero" /> on the same
page share one slot; rename to allow both to play independently.