UNPKG

motion-v

Version:

<p align="center"> <img width="100" height="100" alt="Motion logo" src="https://user-images.githubusercontent.com/7850794/164965523-3eced4c4-6020-467e-acde-f11b7900ad62.png" /> </p> <h1 align="center">Motion for Vue</h1>

15 lines (14 loc) 414 B
import { VariantType } from '../../../types'; import { VariantLabels } from 'motion-dom'; export type FocusProps = { /** * @deprecated Use `whileFocus` instead. */ focus?: VariantLabels | VariantType; /** * Variant to apply when the element is focused. */ whileFocus?: VariantLabels | VariantType; onFocus?: (e: FocusEvent) => void; onBlur?: (e: FocusEvent) => void; };