/** * * CompareIndicator is a component that displays the indicator. * * [Live Demo](https://www.primereact.org/compare/) * * @module CompareIndicator * @group components * */ import type { ComponentInstance } from '@primereact/types/core'; import type { BaseComponentProps, PassThroughType } from '../..'; import type { CompareRootInstance } from './CompareRoot.types'; /** * Defines passthrough(pt) options type in CompareIndicator component. */ export type CompareIndicatorPassThroughType = PassThroughType; /** * Defines passthrough(pt) options of CompareIndicator component. */ export interface CompareIndicatorPassThrough { /** * Used to pass attributes to the root's DOM element. */ root?: CompareIndicatorPassThroughType>; } /** * Defines valid properties in CompareIndicator component. */ export interface CompareIndicatorProps extends BaseComponentProps { } /** * Defines valid state in CompareIndicator component. */ export interface CompareIndicatorState { } /** * Defines the methods and properties exposed by CompareIndicator component. */ export interface CompareIndicatorExposes { /** * The Compare component instance. */ compare: CompareRootInstance | undefined | null; } /** * Instance of CompareIndicator component. */ export type CompareIndicatorInstance = ComponentInstance;