Adds support to use the viewport definition method behind
@w11r/use-breakpoint's React hook. Prop names: mediaQuery, mq, at
The output is plain Media Query.
The basic logic:
- Define default values.
- Define overrides per breakpoint.
The plugin included in the
ccsspackage pre-configured. Skip this step if you don't need custom configuration and/or CCSS instance.
import ccss from '@cryptic-css/core'
import propMQ from '@cryptic-css/prop-mq'