useControlsProvider

Returns the internal controls record for a panel id.

Returns the registered control record for a panel id and provides the shared store to descendants.

function useControlsProvider(uuid = 'default'): Record<string, LechesControlUnion>

Most applications only need useControls and <TresLeches />. useControlsProvider is useful for integrations that inspect the normalized controls directly.