Skip to content

Commit

Permalink
fix: useTexture to show indentation for code snippet
Browse files Browse the repository at this point in the history
@see needs to be under the code snippet
  • Loading branch information
Daniel Philip Johnson committed Mar 2, 2023
1 parent b0a237e commit e983c5d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/tres/src/core/useTexture/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +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 +42,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 e983c5d

Please sign in to comment.