/** * @author linhd * @date 2024/8/1 15:42 * @description 排序容器 */ import React, { FunctionComponent, ReactNode } from 'react'; import './index.scss'; export interface SortBoxListItemProps { render?: ReactNode; [name: string]: any; } export interface SortBoxProps { /** 样式class */ className?: string; /** style */ style?: React.CSSProperties; /** 类型 */ type?: 'border' | 'none' | 'fill'; /** marginBottom */ marginBottom?: string; /** 数据 */ list?: SortBoxListItemProps[]; /** 排序事件 */ onSort?: (list: SortBoxListItemProps[]) => void; } export declare const SortBox: FunctionComponent; export default SortBox;