Skip to content

Commit

Permalink
fix: Html onOcclude type (#1863)
Browse files Browse the repository at this point in the history
  • Loading branch information
davcri authored Mar 7, 2024
1 parent 6611a7e commit e23965b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/Html.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export interface HtmlProps
// https://www.youtube.com/watch?v=ScZcUEDGjJI
// as well as Joe Pea in CodePen: https://codepen.io/trusktr/pen/RjzKJx
occlude?: React.RefObject<Object3D>[] | boolean | 'raycast' | 'blending'
onOcclude?: (visible: boolean) => null
onOcclude?: (visible: boolean) => void
material?: React.ReactNode // Material for occlusion plane
geometry?: React.ReactNode // Material for occlusion plane
castShadow?: boolean // Cast shadow for occlusion plane
Expand Down

0 comments on commit e23965b

Please sign in to comment.