Sanity App SDK
Preparing search index...
@sanity/sdk
index
Selector
Type Alias Selector<TState, TParams, TReturn>
Selector
:
(
context
:
SelectorContext
<
TState
>
,
...
params
:
TParams
)
=>
TReturn
Function type for selecting derived state from store state and parameters
Type Parameters
TState
TParams
extends
unknown
[]
TReturn
Type declaration
(
context
:
SelectorContext
<
TState
>
,
...
params
:
TParams
)
:
TReturn
Parameters
context
:
SelectorContext
<
TState
>
...
params
:
TParams
Returns
TReturn
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Sanity App SDK
Loading...
Function type for selecting derived state from store state and parameters