Skip to main content

CartForm

Creates a form for managing cart operations. Use CartActionInput to accept form inputs of known type.

Anchor to CartActionInputProps

CartActionInputProps

| | | | | | | | | | | | | | | | | |
Anchor to children
children
ReactNode | ((fetcher: FetcherWithComponents<any>) => ReactNode)
required

Children nodes of CartForm. Children can be a render prop that receives the fetcher.

Anchor to fetcherKey
fetcherKey
string

Optional key to use for the fetcher.

Anchor to route
route
string

The route to submit the form to. Defaults to the current route.


Was this page helpful?