IUseQueryParameters
3p-core / IUseQueryParameters
Interface: IUseQueryParameters<T>
Represents the return value of the useQueryParameters
hook.
Type Parameters
T
T
The type of the parameter value to be stored in the query string.
Properties
Property | Type | Description |
---|---|---|
setParameter | (value ) => void | Updates the query parameter in the URL and sets the internal state. |
value | T | The current value of the parameter parsed from the URL. |