Interface: AddToFavoriteProps
Defined in: components/AddToFavorite.tsx:20
Properties
className?
optionalclassName?:string
Defined in: components/AddToFavorite.tsx:34
Extra CSS class applied to the root button
clusterId?
optionalclusterId?:number
Defined in: components/AddToFavorite.tsx:31
Cluster ID to add/remove from favorites (for clusters)
graphqlClient?
optionalgraphqlClient?:GraphQLClient
Defined in: components/AddToFavorite.tsx:22
The initialized GraphQL Client instance. Resolved from PropellerProvider when omitted.
labels?
optionallabels?:Record<string,string>
Defined in: components/AddToFavorite.tsx:37
UI string overrides
onFavoriteChanged?
optionalonFavoriteChanged?: () =>void
Defined in: components/AddToFavorite.tsx:40
Called after a favorite list mutation (add/remove) succeeds
Returns
void
productId?
optionalproductId?:number
Defined in: components/AddToFavorite.tsx:28
Product ID to add/remove from favorites (for products)
user?
optionaluser?:Contact|Customer|null
Defined in: components/AddToFavorite.tsx:25
The authenticated user. Resolved from PropellerProvider when omitted.