@coveord/plasma-mantine
Version:
A Plasma flavoured Mantine theme
26 lines • 1.02 kB
TypeScript
import { BoxProps, ComboboxData, CompoundStylesApiProps, Factory, SelectProps } from '@mantine/core';
import { FunctionComponent } from 'react';
export type TablePredicateStylesNames = 'predicate' | 'predicateWrapper' | 'predicateLabel' | 'predicateSelect';
export interface TablePredicateProps extends BoxProps, Pick<SelectProps, 'renderOption' | 'comboboxProps'>, CompoundStylesApiProps<TablePredicateFactory> {
/**
* Unique identifier for this predicate. Will be used to access the selected value in the table state
*/
id: string;
/**
* The values to display in the predicate
*/
data: ComboboxData;
/**
* The label to display next to the Select
*
*/
label: string;
}
export type TablePredicateFactory = Factory<{
props: TablePredicateProps;
ref: HTMLDivElement;
stylesNames: TablePredicateStylesNames;
compound: true;
}>;
export declare const TablePredicate: FunctionComponent<TablePredicateProps>;
//# sourceMappingURL=TablePredicate.d.ts.map