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

22 lines (21 loc) 984 B
import React from 'react'; import { NonCancelableEventHandler } from '../internal/events'; import { Breakpoint } from '../internal/breakpoints'; import { ButtonProps } from '../button'; import { AttributeEditorProps } from './interfaces'; export interface RowProps<T> { breakpoint: Breakpoint | null; item: T; definition: ReadonlyArray<AttributeEditorProps.FieldDefinition<T>>; index: number; removable: boolean; removeButtonText: string; removeButtonRefs: Array<ButtonProps.Ref | undefined>; onRemoveButtonClick?: NonCancelableEventHandler<AttributeEditorProps.RemoveButtonClickDetail>; } export declare const Row: React.MemoExoticComponent<(<T>({ breakpoint, item, definition, index, removable, removeButtonText, removeButtonRefs, onRemoveButtonClick }: RowProps<T>) => JSX.Element)>; interface AdditionalInfoProps { children: React.ReactNode; } export declare const AdditionalInfo: ({ children }: AdditionalInfoProps) => JSX.Element; export {};