docs: explain particle view resolver
This commit is contained in:
@@ -11,7 +11,7 @@ interface ParticleViewResolverProps {
|
||||
|
||||
/**
|
||||
* Resolves a particle by its path segments and renders the appropriate view
|
||||
* based on particle type. This is the extensibility point for future particle types.
|
||||
* based on particle type (e.g. stream would show clips in story mode, folder would list files, etc.)
|
||||
*/
|
||||
export function ParticleViewResolver({ networkId, particleSegments }: ParticleViewResolverProps) {
|
||||
const { particle, isLoading, error } = useParticle(networkId, particleSegments);
|
||||
|
||||
Reference in New Issue
Block a user