JSPM

react-paella-pinned

2.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q10333F
  • License ISC

Pin or position children react component

Package Exports

  • react-paella-pinned

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 (react-paella-pinned) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Pinned

Explore on ✨Storybook✨

📌 📍

Install

yarn add react-paella-pinned

Use

By default <Pinned></Pinned> will center itself in both axis X/Y. You can customize further with props.

Prop name Accepts Default
tag string span
elevation number 9
isCenterX bool false
isCenterY bool false
offsetX number 0
offsetY number 0

Offsets only works on the opposite axis in the sense that offsetX will only apply to isCenterY and viceversa.

License

-pinned is part of the react-paella suite of components.

MIT