Skip to content

Commit

Permalink
fix: enable toggling ambient occlusion in showcase
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaehiel committed Sep 25, 2023
1 parent 17ad2b7 commit 50b225c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Avatar/Examples.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ environmentModel.argTypes = {
export const ReflectiveFloor: StoryFn<typeof Avatar> = (
args: AvatarProps & FloorReflectionProps & { debug: boolean }
) => (
<Avatar {...args} effects={{ ambientOcclusion: true }} style={{ background: args.color }}>
<Avatar {...args} effects={{ ambientOcclusion: true }} background={{ color: args?.color }}>
<FloorReflection {...args} />
{args?.debug && <StatsGl />}
</Avatar>
Expand Down

0 comments on commit 50b225c

Please sign in to comment.