@pinwheel/react-modal
Advanced tools
Changelog
2.3.4
EventPayload
type.PinwheelError
type.PinwheelErrorType
type.EmptyPayloadObject
type as Record<string, never>
.EventPayload
is no longer a union containing {}
. It now contains Record<string, never>
instead due to this behavior.Error
type as @deprecated because it collides with the built-in javascript Error
object. Replaced with PinwheelError
.ErrorType
type as @deprecated because the new naming convention is prefixing with "PinwheelError
". Replaced with PinwheelErrorType
.onExit
type to be (error: PinwheelError | Record<string, never>)
to be accurate with current functionality.Changelog
2.3.12
ScreenTransition
event payload type.screen_transition
to EventName
type.ScreenTransition
to EventPayload
type.