README
@comparaonline/ui-fixed
React component to render elements using fixed
position;
Installation
yarn add @comparaonline/ui-fixed
Usage
import Fixed from '@comparaonline/ui-fixed';
() => <Fixed>Content</Fixed>
Prop Types
Name | Type | Default | Description |
---|---|---|---|
bottom | number |
undefined |
CSS property bottom |
left | number |
undefined |
CSS property left |
right | number |
undefined |
CSS property right |
top | number |
undefined |
CSS property top |