UNPKG

@atlaskit/inline-edit

Version:

An inline edit displays a custom input component that switches between reading and editing on the same page.

17 lines (16 loc) 548 B
/** * @jsxRuntime classic * @jsx jsx */ import React from 'react'; interface ReadViewProps { editButtonLabel: string; onEditRequested: () => void; postReadViewClick: () => void; editButtonRef: React.RefObject<HTMLButtonElement>; readViewFitContainerWidth?: boolean; readView: () => React.ReactNode; testId?: string; } declare const ReadView: ({ editButtonLabel, onEditRequested, postReadViewClick, editButtonRef, readViewFitContainerWidth, readView, testId, }: ReadViewProps) => JSX.Element; export default ReadView;