FixedBox
Fixed box component for React | github.com/Eazymov/fixed-box
Installation
<script />
include
Direct The library will be exposed as a global FixedBox
variable
or via unpkg
NPM
npm install fixed-box --save
Yarn
yarn add fixed-box
Props
className
FixedBox container element class name
type: string
required: none
edges
Minimal positions for the child element
type:
top?: number right?: number bottom?: number left?: number
required: none
children
React node or function that returns react node and takes isFixed
boolean value as argument
type: React$Node | (isFixed: boolean) => React$Node
required: none
Questions
If you have any troubles, questions or proposals you can create the issue
Good pull requests are also appreciated :)
License
Copyright (c) 2018 - present, Eduard Troshin