@1771technologies/lytenyte-pro
Version:
51 lines (50 loc) • 4.34 kB
TypeScript
import { JSX, ReactNode } from 'react';
import { PillManagerDragPlaceholder } from './pill-manager-drag-placeholder';
import { PillManagerAggMenuProps } from './pill-manager-agg-menu';
import { GridProReact } from '../types';
interface RootProps<D = any> {
readonly grid: GridProReact<D>;
readonly aggMenuRenderer?: (p: PillManagerAggMenuProps<D>) => ReactNode;
readonly measureMenuRenderer?: (p: PillManagerAggMenuProps<D>) => ReactNode;
readonly menuTriggerIcon?: (p: JSX.IntrinsicElements["svg"]) => ReactNode;
}
export declare const useComponents: () => {
readonly aggMenuRenderer: (p: PillManagerAggMenuProps<any>) => ReactNode;
readonly measureMenuRenderer: (p: PillManagerAggMenuProps<any>) => ReactNode;
readonly menuTriggerIcon: (p: JSX.IntrinsicElements["svg"]) => ReactNode;
};
export declare const PillManager: {
Root: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & RootProps<any>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
Rows: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
Row: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & import('./pill-manager-types').RowProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
RowLabel: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
RowLabelColumns: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
labelText?: string;
icon?: ReactNode;
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
RowLabelMeasures: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
labelText?: string;
icon?: ReactNode;
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
RowLabelAggregations: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
labelText?: string;
icon?: ReactNode;
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
RowLabelColumnPivots: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
labelText?: string;
icon?: ReactNode;
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
RowLabelRowGroups: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
labelText?: string;
icon?: ReactNode;
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
Separator: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
Expander: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
Pills: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children"> & import('./pill-manager-types').PillProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
Pill: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children"> & {
item: import('./pill-manager-types').PillManagerPillItem;
menu?: string;
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
DragPlaceholder: typeof PillManagerDragPlaceholder;
};
export {};