Skip to main content
Version: 1.0.5

IUseQueryParameters

@spartanfx/react v1.0.5


@spartanfx/react / 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

PropertyTypeDescription
setParameter(value) => voidUpdates the query parameter in the URL and sets the internal state.
valueTThe current value of the parameter parsed from the URL.