Skip to content

Commit e705e63

Browse files
marklundinCopilot
andauthored
Update packages/lib/src/gltf/hooks/use-entity.tsx
Co-authored-by: Copilot <[email protected]>
1 parent 57210a4 commit e705e63

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/lib/src/gltf/hooks/use-entity.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ import { PathPredicate, EntityMetadata, PathMatcher } from '../utils/path-matche
99
/**
1010
* Hook to find entities by path relative to the current parent context
1111
* Uses the unified PathMatcher for consistent syntax with Modify.Node
12-
* * @param path - String path or predicate function to match entities
12+
* @param path - String path or predicate function to match entities
1313
* @returns The matched entity, array of entities (for wildcards), or null if not found
14-
* * @example
14+
* @example
1515
* ```tsx
1616
* // Find by path
1717
* const handEntity = useEntity('arm.hand');
18-
* * // Find by predicate
18+
* // Find by predicate
1919
* const lightsEntity = useEntity((entity) => entity.c?.light !== undefined);
20-
* * // Find with wildcard
20+
* // Find with wildcard
2121
* const allChildren = useEntity('*');
22-
* * // Find with component filter
22+
* // Find with component filter
2323
* const lights = useEntity('**[light]');
2424
* ```
2525
*/

0 commit comments

Comments
 (0)