@primer/react
Version:
An implementation of GitHub's Primer Design System using React
30 lines • 1.68 kB
TypeScript
import type React from 'react';
import type { TextInputProps } from '../TextInput';
import type { GroupedListProps, ListPropsBase } from './';
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>;
message?: React.ReactNode;
messageText?: {
title: string;
description: string;
};
className?: string;
announcementsEnabled?: boolean;
fullScreenOnNarrow?: boolean;
onSelectAllChange?: (checked: boolean) => void;
}
export declare function FilteredActionList({ loading, placeholderText, filterValue: externalFilterValue, loadingType, onFilterChange, onListContainerRefChanged, onInputRefChanged, items, textInputProps, inputRef: providedInputRef, sx, groupMetadata, showItemDividers, message, messageText, className, selectionVariant, announcementsEnabled, fullScreenOnNarrow, onSelectAllChange, ...listProps }: FilteredActionListProps): JSX.Element;
export declare namespace FilteredActionList {
var displayName: string;
}
//# sourceMappingURL=FilteredActionList.d.ts.map