import React from 'react'; /** * 可排序Label属性类型 * * @export * @interface TableSortLabelProps */ export interface TableSortLabelProps { /** * 是否被点击 * * @type {boolean} * @memberof TableSortLabelProps */ active?: boolean; /** * 子元素 * * @type {React.ReactNode} * @memberof TableSortLabelProps */ children: React.ReactNode; /** * 排序方式 * * @type {('desc' | 'asc')} * @memberof TableSortLabelProps */ direction?: 'desc' | 'asc'; } /** * @ReactComponent * * 可排序Label * * @export * @param {TableSortLabelProps} props * @returns */ export default function TableSortLabel(props: TableSortLabelProps): JSX.Element;