textAlign
or backgroundColor
as responsive, by dedfault.useResponsiveProps
and useResponsiveComponent
hooks.up
(Default) — Applies the given value from the specified breakpoint and up;down
— Applies the given value from the specified breakpoint and down;only
— Applies the given value only for the specified breakpoint.up
,px
,xs
breakpoint and up
.Composition
component support Responsive props as well.padding={10}
declaration applies padding: 10px
on all screens, starting from "xs" and up. However, on the "md" screen the padding declaration is rewritten by paddingMdOnly
and its value is set to "initial".