Home > @uniformdev/canvas-react > useUniformCurrentComposition
useUniformCurrentComposition() function
Gets the data of the closest <UniformComposition />
ancestor.
Signature:
declare function useUniformCurrentComposition(): UniformCompositionContextValue;
Returns:
UniformCompositionContextValue