@wordpress/components
Version:
UI components for WordPress.
8 lines • 333 B
TypeScript
/**
* Allows users to opt-out of animations via OS-level preferences.
*
* @param {'transition' | 'animation' | string} [prop='transition'] CSS Property name
* @return {string} Generated CSS code for the reduced style
*/
export function reduceMotion(prop?: string | undefined): string;
//# sourceMappingURL=reduce-motion.d.ts.map