import { type TableDataSource } from '@mezzanine-ui/core/table'; import type { TableProps } from './typings'; /** * 資料表格元件,支援排序、選取、展開、虛擬捲動與拖曳排序等功能。 * * 透過 `columns` 定義欄位結構,`dataSource` 傳入資料列;可搭配 `rowSelection` * 啟用勾選功能、`expandable` 展開子列、`scroll.virtualized` 開啟虛擬捲動以渲染大量資料。 * `draggable` 與 `pinnable` 為互斥選項,無法同時啟用。 * * @example * ```tsx * import Table from '@mezzanine-ui/react/Table'; * * // 基本用法 *