import React, { PropsWithChildren } from 'react'; import { DataTableColumnType } from '../table'; export interface TableColumnViewType extends DataTableColumnType { isOn?: boolean; } export interface ColumnViewControllerProps { /** * columns의 모든 width가 필수값이어야 함 */ columns: Array>; onChange: (columns: Array>) => void; width?: number; /** * 고정 column 변경 기능 사용 여부 * @default true * @see maxFixedCount * @see pullsFixed */ canFixed?: boolean; maxFixedCount?: number; /** * 고정 column을 별도로 끌어서 사용할 지 여부 * @default false * @see noFixedItemsText * @see fixedSectionTitle */ pullsFixed?: boolean; /** @default '고정 정보가 없습니다.' */ noFixedItemsText?: string; /** @default '고정 정보' */ fixedSectionTitle?: string; /** @default '목록 정보' */ listSectionTitle?: string; } export declare const ColumnViewController: ({ children, columns, onChange, width, canFixed, pullsFixed, maxFixedCount, noFixedItemsText, fixedSectionTitle, listSectionTitle, }: React.PropsWithChildren>) => JSX.Element;