%PDF- %PDF-
Direktori : /var/www/html/node_modules/react-popper/ |
Current File : //var/www/html/node_modules/react-popper/README.md |
# React Popper [![Unit Tests](https://github.com/popperjs/react-popper/workflows/Unit%20Tests/badge.svg)](https://github.com/popperjs/react-popper/actions?query=workflow%3A%22Unit+Tests%22) [![npm version](https://img.shields.io/npm/v/react-popper.svg)](https://www.npmjs.com/package/react-popper) [![npm downloads](https://img.shields.io/npm/dm/react-popper.svg)](https://www.npmjs.com/package/react-popper) [![Dependency Status](https://david-dm.org/souporserious/react-popper.svg)](https://david-dm.org/souporserious/react-popper) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier) [![Get support or discuss](https://img.shields.io/badge/chat-on_spectrum-6833F9.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyBpZD0iTGl2ZWxsb18xIiBkYXRhLW5hbWU9IkxpdmVsbG8gMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTAgOCI%2BPGRlZnM%2BPHN0eWxlPi5jbHMtMXtmaWxsOiNmZmY7fTwvc3R5bGU%2BPC9kZWZzPjx0aXRsZT5zcGVjdHJ1bTwvdGl0bGU%2BPHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNSwwQy40MiwwLDAsLjYzLDAsMy4zNGMwLDEuODQuMTksMi43MiwxLjc0LDMuMWgwVjcuNThhLjQ0LjQ0LDAsMCwwLC42OC4zNUw0LjM1LDYuNjlINWM0LjU4LDAsNS0uNjMsNS0zLjM1UzkuNTgsMCw1LDBaTTIuODMsNC4xOGEuNjMuNjMsMCwxLDEsLjY1LS42M0EuNjQuNjQsMCwwLDEsMi44Myw0LjE4Wk01LDQuMThhLjYzLjYzLDAsMSwxLC42NS0uNjNBLjY0LjY0LDAsMCwxLDUsNC4xOFptMi4xNywwYS42My42MywwLDEsMSwuNjUtLjYzQS42NC42NCwwLDAsMSw3LjE3LDQuMThaIi8%2BPC9zdmc%2B)](https://spectrum.chat/popper-js/react-popper) React wrapper around [Popper](https://popper.js.org). **important note:** Popper is **not** a tooltip library, it's a _positioning engine_ to be used to build features such as (but not restricted to) tooltips. ## Install Via package managers: ```bash # With npm npm i react-popper @popperjs/core # With Yarn yarn add react-popper @popperjs/core ``` **Note:** `@popperjs/core` must be installed in your project in order for `react-popper` to work. Via `script` tag (UMD library exposed as `ReactPopper`): ```html <script src="https://unpkg.com/react-popper/dist/index.umd.js"></script> ``` ## Documentation The full documentation can be found on the official Popper website: http://popper.js.org/react-popper ## Running Locally #### clone repo `git clone git@github.com:FezVrasta/react-popper.git` #### move into folder `cd ~/react-popper` #### install dependencies `npm install` or `yarn` #### run dev mode `npm run demo:dev` or `yarn demo:dev` #### open your browser and visit: `http://localhost:1234/`