Sha256: 9b0959139d71b8a411ac973b260414b8c1551e8abb8ffbabfaa8c1489c3fb6c5
Contents?: true
Size: 564 Bytes
Versions: 2
Compression:
Stored size: 564 Bytes
Contents
import React from 'react'; export declare type Direction = 'asc' | 'desc'; export declare type SortOptions = { [name: string]: string; }; export declare type SortValue = { name: string; dir: Direction; }; export declare type SortingChangeCallback = (value: SortValue[]) => void; export declare type SortMenuProps = { dark?: boolean; onChange: SortingChangeCallback; options: SortOptions; value?: SortValue[]; }; declare const SortMenu: ({ dark, options, value, onChange }: SortMenuProps) => React.ReactElement; export default SortMenu;
Version data entries
2 entries across 2 versions & 1 rubygems