property InlineEditProps.kind

A one-line field (text, email), where Enter saves, or the Markdown editor (markdown), where Ctrl/Cmd+Enter does. Escape cancels in both.

Type

"text" | "email" | "markdown"

Usage

import { type InlineEditProps } from "src/components/form/InlineEdit.tsx";