@focuson/form_components
Version:
Components that can be used by @focuson/forms
11 lines (10 loc) • 727 B
TypeScript
import { CommonStateProps } from "./common";
import { LensState } from "@focuson/state";
export interface TableWithCheckboxInputProps<S, T, Context> extends CommonStateProps<S, T[], Context> {
order: (keyof T)[];
/** If set then the selected index will be copied here as the table items are selected. */
copySelectedIndexTo?: LensState<S, number, Context>;
/** If set then the selected index will be copied here as the table items are selected */
copySelectedItemTo?: LensState<S, T, Context>;
}
export declare function TableWithCheckboxInput<S, T, Context>({ id, order, state, copySelectedIndexTo, copySelectedItemTo }: TableWithCheckboxInputProps<S, T, Context>): import("react/jsx-runtime").JSX.Element;