Primitives / foldkit-primitives/media
PrefersReducedMotion
const · packages/primitives/src/media/mediaquery.ts:60
| Args | none |
|---|---|
| Model | { matches: boolean } |
| Messages | Changed { matches: boolean } |
Its full type
const PrefersReducedMotion: Bundle.Bundle<
'MediaQuery',
void,
{ readonly matches: boolean },
{ readonly _tag: 'Changed'; readonly matches: boolean },
never,
never,
never,
void,
{},
{}
>(prefers-reduced-motion: reduce), bound so placements give no args.
In the guides
- Find one by the jobPrimitives / foldkit-primitives
- The mapPrimitives / foldkit-primitives
- foldkit-primitives/mediaPrimitives / Media