Skip to content

Commit

Permalink
fix(Outlines): Mark all Outlines props as optional (#1758)
Browse files Browse the repository at this point in the history
  • Loading branch information
le-michael authored Dec 19, 2023
1 parent 8f0a045 commit cc8ea56
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/core/Outlines.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,17 @@ const OutlinesMaterial = /* @__PURE__ */ shaderMaterial(

type OutlinesProps = JSX.IntrinsicElements['group'] & {
/** Outline color, default: black */
color: ReactThreeFiber.Color
color?: ReactThreeFiber.Color
/** Line thickness is independent of zoom, default: false */
screenspace: boolean
screenspace?: boolean
/** Outline opacity, default: 1 */
opacity: number
opacity?: number
/** Outline transparency, default: false */
transparent: boolean
transparent?: boolean
/** Outline thickness, default 0.05 */
thickness: number
thickness?: number
/** Geometry crease angle (0 === no crease), default: Math.PI */
angle: number
angle?: number
toneMapped?: boolean
polygonOffset?: boolean
polygonOffsetFactor?: number
Expand Down

1 comment on commit cc8ea56

@vercel
Copy link

@vercel vercel bot commented on cc8ea56 Dec 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.