Skip to content

Commit

Permalink
Merge pull request #138 from Tresjs/fix/137-usetexture-intellisense-c…
Browse files Browse the repository at this point in the history
…ode-snippet

fix: useTexture to show indentation for code snippet
  • Loading branch information
alvarosabu authored Mar 2, 2023
2 parents b0a237e + c1baa4d commit aee7ea9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/tres/src/core/useTexture/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ export interface PBRTextureMaps {
/**
* Composable for loading textures.
*
* @see https://tresjs.org/examples/load-textures.html
*
* ```ts
* import { useTexture } from 'tres'
*
Expand All @@ -43,7 +41,7 @@ export interface PBRTextureMaps {
* ```vue
* <TresMeshStandardMaterial v-bind="pbrTexture" />
* ```
*
* @see https://tresjs.org/examples/load-textures.html
* @export
* @param {(Array<string> | { [key: string]: string })} paths
* @return {*} {(Promise<Texture | Array<Texture> | PBRTextureMaps>)}
Expand Down

0 comments on commit aee7ea9

Please sign in to comment.