UNPKG

455 BTypeScriptView Raw
1import { Primitive } from 'd3-array';
2import { TransformComponent as TC } from '../runtime';
3export type SortOptions = {
4 by?: string;
5 reverse?: boolean;
6 channel?: string;
7 slice?: number | [number, number];
8 ordinal?: boolean;
9 reducer?: 'max' | 'min' | 'sum' | 'first' | 'last' | 'mean' | 'median' | ((I: number[], V: Primitive[]) => Primitive);
10};
11/**
12 * Sort marks groups by groups.
13 */
14export declare const Sort: TC<SortOptions>;
15
\No newline at end of file