JSPM

@instructure/ui-position

7.3.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2768
  • Score
    100M100P100Q145792F
  • License MIT

A component for positioning content with respect to a designated target.

Package Exports

  • @instructure/ui-position

Readme


category: packages

ui-position

npm  build-status  MIT License  Code of Conduct

A component for positioning content with respect to a designated target.

Components

The ui-position package contains the following:

Installation

yarn add @instructure/ui-position

Usage

For detailed usage and documentation, see Position.

import React from 'react'
import { Position } from '@instructure/ui-position'

const MyPosition = () => {
  return (
    <Position renderTarget={<div>Target</div>}>
      Hello world
    </Position>
  )
}