UNPKG

@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

28 lines (27 loc) 1.05 kB
import React from 'react'; import { AutosuggestProps } from '../autosuggest'; import { InputProps } from '../input'; export interface TagControlProps { row: number; value: string; readOnly: boolean; defaultOptions: AutosuggestProps.Options; placeholder: string; errorText: string; loadingText: string; suggestionText: string; tooManySuggestionText: string; limit: number; filteringKey?: string; enteredTextLabel: (value: string) => string; onChange: (value: string, row: number) => void; onBlur?: (row: number) => void; onRequest?: (value: string) => Promise<readonly string[]>; initialOptionsRef?: React.MutableRefObject<AutosuggestProps.Options>; } export declare const TagControl: React.ForwardRefExoticComponent<TagControlProps & React.RefAttributes<InputProps.Ref>>; export interface UndoButtonProps { children: React.ReactNode; onClick: () => void; } export declare const UndoButton: React.ForwardRefExoticComponent<UndoButtonProps & React.RefAttributes<HTMLAnchorElement>>;