@comparaonline/ui-fixed

React component to render elements using fixed position;

Usage no npm install needed!

<script type="module">
  import comparaonlineUiFixed from 'https://cdn.skypack.dev/@comparaonline/ui-fixed';
</script>

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