@rosszurowski/popover
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

A tiny Popover component for React and Preact apps. Simple, and usable for many different settings.

  • Minimal dependencies
  • Supports both React and Preact

Getting Started

import Popover from "@rosszurowski/popover";

function App() {
  return (
    <Popover content="Hello world">
      <button type="button">Toggle a popover</button>
    </Popover>
  );
}

Readme

Keywords

none

Package Sidebar

Install

npm i @rosszurowski/popover

Weekly Downloads

0

Version

0.0.9

License

MIT

Unpacked Size

61.2 kB

Total Files

12

Last publish

Collaborators

  • rosszurowski