Skip to content

Commit 2c0c7a2

Browse files
authored
fix: Allow null environment in StageProps (#1746)
1 parent a770a58 commit 2c0c7a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/Stage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ type StageProps = {
5757
/** Optionally wraps and thereby centers the models using <Bounds>, can also be a margin, default: true */
5858
adjustCamera?: boolean | number
5959
/** The default environment, default: "city" */
60-
environment?: PresetsType | Partial<EnvironmentProps>
60+
environment?: PresetsType | Partial<EnvironmentProps> | null
6161
/** The lighting intensity, default: 0.5 */
6262
intensity?: number
6363
/** To adjust centering, default: undefined */

0 commit comments

Comments
 (0)