- Name
pressed- Kind
- property
- Type
boolean- Requirement
- required
DocsAPI referenceUI machineswishlist-button
wishlist-button machine
The public state machine contract for @grassroot/ui-machines/wishlist-button. The machine owns behaviour; the matching headless layer owns composition.
@grassroot/ui-machines/wishlist-button
Package
Service example
wishlist-button.tsts
import { createService } from "@grassroot/statechart";import { wishlistButtonMachine } from "@grassroot/ui-machines/wishlist-button"; const service = createService(wishlistButtonMachine, { input: {} });service.start();service.send({ type: "…" });service.stop();10 of 10