FavoriteButton
A button component for toggling a favorite state, typically used for products.
Anchor to propsProps
- Anchor to filledfilledfilledbooleanboolean
Whether the product is currently favorited
- Anchor to onClickonClickonClick() => void() => void
Click handler for toggling favorite state
Was this page helpful?