/
githubmirror
/
material-ui
Обзор
Документация
Войти
/
githubmirror
/
material-ui
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
packages/mui-material/src/styles/createMotion.d.ts
11 строк
289 B
Albert Yu
[transitions] Support `prefers-reduced-motion` (#48357)
04 июн 2026, 15:18
Не верифицирован
04 июн 2026, 15:18
41b68b8
Код
Авторство
О чём код?
export type ReducedMotionMode = 'never' | 'system' | 'always'; export interface Motion { reducedMotion: ReducedMotionMode; } export interface MotionOptions { reducedMotion?: ReducedMotionMode | undefined; } export default function createMotion(inputMotion?: MotionOptions): Motion;