UNPKG

@terrible-lexical/react

Version:

This package provides Lexical components and hooks for React applications.

30 lines (26 loc) 709 B
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow strict */ import * as React from 'react'; export type Props = $ReadOnly<{ ...Partial<HTMLDivElement>, ariaActiveDescendant?: string, ariaAutoComplete?: string, ariaControls?: string, ariaDescribedBy?: string, ariaExpanded?: boolean, ariaLabel?: string, ariaLabelledBy?: string, ariaMultiline?: boolean, ariaOwns?: string, ariaRequired?: boolean, autoCapitalize?: boolean, 'data-testid'?: string | null, ... }>; declare export function ContentEditable(props: Props): React$Node;