UNPKG

@atlaskit/editor-common

Version:

A package that contains common classes and components for editor and renderer

20 lines (19 loc) 622 B
/** * @jsxRuntime classic * @jsx jsx */ import type { ReactElement } from 'react'; import { jsx } from '@emotion/react'; type Props = { aspectRatio?: number | string; borderColor?: string; borderSize?: number; children: ReactElement; htmlAttrs?: { [key: string]: string | number | undefined; }; isSelected?: boolean; onClick: React.EventHandler<React.MouseEvent | React.KeyboardEvent>; }; export declare const InlineImageWrapper: ({ children, isSelected, aspectRatio, borderSize, borderColor, htmlAttrs, onClick, }: React.PropsWithChildren<Props>) => jsx.JSX.Element; export {};