import * as React from 'react';

export type CommonListSorterProps = {
    children?: React.ReactNode;
    append?: React.ReactNode;
    prepend?: React.ReactNode;
    property?: string;
    displayName?: string;
    ascendingText?: string;
    descendingText?: string;
    sorterTitleText?: string;
} & Partial<CommonListSorterDefaultProps>;

export type CommonListSorterDefaultProps = {
    append: null;
    prepend: null;
    property: string;
    displayName: string;
    ascendingText: string;
    descendingText: string;
    sorterTitleText: string;
}

export class CommonListSorter<P extends CommonListSorterProps> extends React.Component<P> {
    
}