export type HapticVariant = 'subtle' | 'loud';
export interface HapticFeedbackProps {
/**
* Enables haptic feedback on interaction with the container.
* When true, the container will trigger haptic feedback on click/tap events.
* @example
*
*/
hapticEnabled?: boolean;
/**
* Specifies the intensity of the haptic feedback.
* - 'light': Light haptic feedback, suitable for most interactions
* - 'loud': Strong haptic feedback, for more prominent interactions
* @example
*
*/
hapticVariant?: HapticVariant;
/**
* When enabled, the haptic feedback will repeat continuously while the interaction is active.
* Useful for long-press or drag interactions.
* @example
*
*/
hapticRepeat?: boolean;
}
export interface IHapticFeedbackProps {
pattern?: number | number[];
repeat?: boolean;
variant: HapticVariant;
intensity?: number;
}