/** * * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc.. * * This source code is licensed under the Apache license. * See LICENSE file in the project root for license information. * */ import * as React from 'react'; import type { TableLocale } from './interface'; interface DefaultExpandIconProps { prefixCls: string; onExpand: (record: RecordType, e: React.MouseEvent) => void; record: RecordType; expanded: boolean; expandable: boolean; } declare function renderExpandIcon(locale: TableLocale): ({ prefixCls, onExpand, record, expanded, expandable, }: DefaultExpandIconProps) => JSX.Element; export default renderExpandIcon;