@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
23 lines (22 loc) • 820 B
TypeScript
import React from 'react';
import { BaseComponentProps } from '../internal/base-component';
import { NonCancelableEventHandler } from '../internal/events';
export interface TextFilterProps extends BaseComponentProps {
filteringText: string;
filteringPlaceholder?: string;
countText?: string;
disabled?: boolean;
filteringAriaLabel?: string;
onChange?: NonCancelableEventHandler<TextFilterProps.ChangeDetail>;
onDelayedChange?: NonCancelableEventHandler<TextFilterProps.ChangeDetail>;
}
export declare namespace TextFilterProps {
interface ChangeDetail {
filteringText: string;
}
interface Ref {
focus(): void;
}
}
declare const TextFilter: React.ForwardRefExoticComponent<TextFilterProps & React.RefAttributes<TextFilterProps.Ref>>;
export default TextFilter;