Skip to main content

IUseQueryParameters

@spartanfx/react v1.2.2


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