SaveButton

Saves the ambient form on click. It is a click handler, not a submit button, so pressing Enter in an input does not submit.

Installation

pnpm dlx shadcn@latest add @chelone/save-button

Saves the ambient form on click. It is a click handler, not a submit button, so pressing Enter in an input does not submit.

Props

Props for SaveButton are typed in the component source.