import { type ClickableProps } from '../Clickable/Clickable'; import { type StateProps } from './state'; export interface TappableProps extends ClickableProps, StateProps { /** * Задает border-radius элементу * В режиме `auto` на маленьких экранах `border-radius: 0`, иначе определяется токеном `--vkui--size_border_radius--regular`. */ borderRadiusMode?: 'auto' | 'inherit' | undefined; /** * @deprecated Since 7.3.0. Будет удалeно в **VKUI v9**. * * Используйте свойство `activeMode`. */ activeClassName?: string | undefined; /** * @deprecated Since 7.3.0. Будет удалeно в **VKUI v9**. * * Используйте свойство `hoverMode`. */ hoverClassName?: string | undefined; } /** * @deprecated Не наследуйтесь от этого типа и от TappableProps. * * Компонентам не нужны лишние свойства Tappable компонента. */ export type TappableOmitProps = Omit; export declare const Tappable: ({ baseClassName, borderRadiusMode, children, hoverMode, activeMode, onPointerDown, onPointerCancel, ...restProps }: TappableProps) => React.ReactNode; //# sourceMappingURL=Tappable.d.ts.map