99.10.0 • Published 4 years ago

@temporg/ui-popover v99.10.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

category: packages

ui-popover

npm  build-status  MIT License  Code of Conduct

A component for hiding or showing content based on user interaction.

Components

The ui-popover package contains the following:

Installation

yarn add @temporg/ui-popover

Usage

For detailed usage and documentation, see Popover.

import React from 'react'
import { Popover } from '@temporg/ui-popover'

const MyPopover = () => {
  return (
    <Popover
      on="click"
      renderTrigger={<button>Click me!</button>}
    >
      Hello world
    </Popover>
  )
}