Skip to main content

Interface: AddToFavoriteProps

Defined in: components/AddToFavorite.tsx:20

Properties

className?

optional className?: string

Defined in: components/AddToFavorite.tsx:34

Extra CSS class applied to the root button


clusterId?

optional clusterId?: number

Defined in: components/AddToFavorite.tsx:31

Cluster ID to add/remove from favorites (for clusters)


graphqlClient?

optional graphqlClient?: GraphQLClient

Defined in: components/AddToFavorite.tsx:22

The initialized GraphQL Client instance. Resolved from PropellerProvider when omitted.


labels?

optional labels?: Record<string, string>

Defined in: components/AddToFavorite.tsx:37

UI string overrides


onFavoriteChanged?

optional onFavoriteChanged?: () => void

Defined in: components/AddToFavorite.tsx:40

Called after a favorite list mutation (add/remove) succeeds

Returns

void


productId?

optional productId?: number

Defined in: components/AddToFavorite.tsx:28

Product ID to add/remove from favorites (for products)


user?

optional user?: Contact | Customer | null

Defined in: components/AddToFavorite.tsx:25

The authenticated user. Resolved from PropellerProvider when omitted.