@primer/react
Version:
An implementation of GitHub's Primer Design System using React
23 lines • 1.43 kB
TypeScript
import React from 'react';
import type { TextInputProps } from '../TextInput';
import type { GroupedListProps, ListPropsBase } from '../SelectPanel/types';
import type { SxProp } from '../sx';
import { type FilteredActionListLoadingType } from './FilteredActionListLoaders';
export interface FilteredActionListProps extends Partial<Omit<GroupedListProps, keyof ListPropsBase>>, ListPropsBase, SxProp {
loading?: boolean;
loadingType?: FilteredActionListLoadingType;
placeholderText?: string;
filterValue?: string;
onFilterChange: (value: string, e: React.ChangeEvent<HTMLInputElement> | null) => void;
onListContainerRefChanged?: (ref: HTMLElement | null) => void;
onInputRefChanged?: (ref: React.RefObject<HTMLInputElement>) => void;
textInputProps?: Partial<Omit<TextInputProps, 'onChange'>>;
inputRef?: React.RefObject<HTMLInputElement>;
className?: string;
announcementsEnabled?: boolean;
}
export declare function FilteredActionList({ loading, loadingType, placeholderText, filterValue: externalFilterValue, onFilterChange, onListContainerRefChanged, onInputRefChanged, items, textInputProps, inputRef: providedInputRef, sx, className, announcementsEnabled: _announcementsEnabled, ...listProps }: FilteredActionListProps): JSX.Element;
export declare namespace FilteredActionList {
var displayName: string;
}
//# sourceMappingURL=FilteredActionListWithDeprecatedActionList.d.ts.map