Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a description to the files property of the Environment helper component. #2114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

itsmahmoud-dev
Copy link

I am requesting this change because I am new to fiber and Drei. I was looking at the docs and as someone coming from vanilla three.js to fiber I would get under the assumption that to load one single file I would use the path property, and to load cube map textures I'd use the files property which isn't the case. If you think my description isn't well enough you don't have to use it. But please clarify how the 2 properties are used.

Why

edit to the documentation of the files property of the environment helper component.

just edit the docs to make it clearer for someone new

  • [x ] Documentation updated (example)
  • Storybook entry added (example)
  • [ x] Ready to be merged

I am requesting this change because I am new to fiber and Drei. I was looking at the docs and as someone coming from vanilla three.js to fiber I would get under the assumption that to load one single file I would use the path property, and to load cube map textures I'd use the files property which isn't the case. If you think my description isn't well enough you don't have to use it. But please clarify how the 2 properties are used.
Copy link

vercel bot commented Sep 29, 2024

@itsmahmoud-dev is attempting to deploy a commit to the Poimandres Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant