JSPM

@commercetools-uikit/constraints

0.0.0-canary-2020717113239
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10618
  • Score
    100M100P100Q142174F
  • License MIT

Package Exports

  • @commercetools-uikit/constraints

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@commercetools-uikit/constraints) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Constraint

Usage

import Constraints from '@commercetools-uikit/constraints';

<Constraints.Horizontal constraint="m">
  <DatePicker />
</Constraints.Horizontal>;

Properties

Props Type Required Values Default
constraint String - 'scale', 'xs', 's', 'm', 'l', 'xl' scale
children PropTypes.node - -

Scales

Scale Pixel
scale 100%
xs 50px
s 132px
m 355px
l 496px
xl 768px