releaseUrl | releaseDate |
---|---|
May 19, 2022 |
-
Add support for different placeholders in preview and edit mode.
The
placeholder
can be astring
or an object containingedit
andpreview
.const [state, send] = useMachine( editable.machine({ placeholder: { edit: "Enter...", preview: "Add name..." }, }), )