UNPKG

@kvaser/canking-api

Version:

CanKing API to communicate with the CanKing service using Node.js.

27 lines (26 loc) 864 B
import { Variant } from '@mui/material/styles/createTypography'; /** * Properties of the InlineEditor React component. */ export interface InlineEditorProps { /** Flag indicating if in edit mode or not. */ editMode: boolean; /** The current value. */ value: string; /** * Callback that will be called when the value has been changed. * @param value The new value. */ onValueChange: (value: string) => void; /** An aria label. */ ariaLabel?: string; /** The variant of the text control. */ variant?: Variant; } /** * Creates an inline editor. * @param props Component properties. * @returns The InlineEditor React component. */ declare function InlineEditor({ editMode, value, onValueChange, ariaLabel, variant }: InlineEditorProps): import("react/jsx-runtime").JSX.Element; export default InlineEditor;