@awsui/components-react
Version:
AWS UI is a collection of [React](https://reactjs.org/) components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the [A
21 lines (20 loc) • 686 B
TypeScript
import React from 'react';
import { Ace } from 'ace-builds';
export interface PaneProps {
id: string;
visible: boolean;
annotations: Ace.Annotation[];
highlighted?: Ace.Annotation;
cursorPositionLabel: (row: number, column: number) => string;
closeButtonAriaLabel: string;
onWhitelist: (activeElement: HTMLElement) => boolean;
onClose: () => void;
onAnnotationClick: (annotation: Ace.Annotation) => void;
onAnnotationClear: () => void;
}
export declare namespace PaneProps {
interface Ref {
focusFirstElement(): void;
}
}
export declare const Pane: React.ForwardRefExoticComponent<PaneProps & React.RefAttributes<PaneProps.Ref>>;