@redocly/theme
Version:
Shared UI components lib
10 lines (9 loc) • 344 B
TypeScript
import React from 'react';
export type CatalogSortButtonProps = {
onSortChange: (sortOption: string | null) => void;
currentSort?: string | null;
};
export declare function CatalogSortButton({ onSortChange, currentSort, }: {
onSortChange: (sortOption: string | null) => void;
currentSort?: string | null;
}): React.JSX.Element;