@gooddata/react-components
Version:
GoodData.UI - A powerful JavaScript library for building analytical applications
27 lines (26 loc) • 753 B
TypeScript
import * as React from "react";
import * as PropTypes from "prop-types";
export interface ISource {
title?: string;
uri?: string;
empty?: boolean;
}
export interface IAttributeElement {
selected?: boolean;
source: ISource;
onSelect?: (source: ISource) => void;
}
export interface IAttributeFilterItemProps {
classname?: string;
item?: IAttributeElement;
}
export declare class AttributeFilterItem extends React.PureComponent<IAttributeFilterItemProps> {
static propTypes: {
classname: PropTypes.Requireable<any>;
item: PropTypes.Requireable<any>;
};
static defaultProps: Partial<IAttributeFilterItemProps>;
render(): JSX.Element;
private renderLoadingItem;
private handleSelect;
}