ItemFavoriteStateChangeHandler type

Type definition for a handler that reacts to changes in item favorite state.

type ItemFavoriteStateChangeHandler = (params: { favorited: boolean }) => void