react-paella-pinned

2.0.1 • Public • Published

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

Dependencies (0)

    Dev Dependencies (14)

    Package Sidebar

    Install

    npm i react-paella-pinned

    Weekly Downloads

    1

    Version

    2.0.1

    License

    ISC

    Unpacked Size

    6.1 kB

    Total Files

    3

    Last publish

    Collaborators

    • polmoneys