UNPKG

@antv/s2-react-components

Version:

React components for S2

12 lines (11 loc) 497 B
import React from 'react'; import type { DraggableProvided } from 'react-beautiful-dnd'; import type { DimensionCommonProps, SwitcherField, SwitcherItem } from '../interface'; type SingleItemProps = Omit<SwitcherItem, 'children'> & Pick<SwitcherField, 'selectable'> & DimensionCommonProps & { parentId?: string; disabled?: boolean; className: string; dragHandleProps?: DraggableProvided['dragHandleProps']; }; export declare const SingleItem: React.FC<SingleItemProps>; export {};