decentraland-ui
Version:
Decentraland's UI components and styles
16 lines (15 loc) • 497 B
TypeScript
import { DropdownItemProps } from 'semantic-ui-react/dist/commonjs/modules/Dropdown/DropdownItem';
import React, { RefObject } from 'react';
export declare type Props = {
children: React.ReactNode;
ref: RefObject<HTMLDivElement>;
tabsList: {
displayValue: string;
value: string;
}[];
activeTab?: string;
handleTabChange?: (tab: string) => void;
sortbyList?: DropdownItemProps[];
handleSortByChange?: (value: string) => void;
sortBy?: string;
};