@sanch941/lib
Library of helpers and components to reuse between projects
Installation
Yarn
yarn add @sanch941/lib
Npm
npm install @sanch941/lib
Components
Box
Container that extends div
name | type | description | example |
---|---|---|---|
$top | Integer | String |
Responsible for margin-top Integer - transforms int via pxrem function to rem String - passes original value |
<Box $top={20}> ... </Box> <Box $top="20px"> ... </Box>
|