SortHandle

SortHandle is used to customize the drag handle column of a Table.

Basic Usage

import { SortHandle, Table } from '@nocobase/client-v2';

<Table
  rowKey="id"
  isDraggable
  showSortHandle={false}
  columns={[
    { key: 'sort', width: 40, render: () => <SortHandle /> },
    ...columns,
  ]}
/>;

API

PropTypeDescription
id`stringnumber`
styleReact.CSSPropertiesCustom style