@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
20 lines (19 loc) • 592 B
TypeScript
import { CodeEditorProps } from './interfaces';
interface PreferencesModali18nStrings {
header: string;
cancel: string;
confirm: string;
wrapLines: string;
theme: string;
lightThemes: string;
darkThemes: string;
}
interface PreferencesModalProps {
visible: boolean;
preferences?: Partial<CodeEditorProps.Preferences>;
i18nStrings: PreferencesModali18nStrings;
onConfirm: (preferences: CodeEditorProps.Preferences) => void;
onDismiss: () => void;
}
declare const _default: (props: PreferencesModalProps) => JSX.Element;
export default _default;