@wenlei/react-use-portal
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

react-use-portal

使用hook创建共用弹出层

NPM JavaScript Style Guide

Install

npm install --save react-use-portal

Usage

import React, { Component } from 'react'

import MyComponent from 'react-use-portal'
import 'react-use-portal/dist/index.css'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}

License

MTI © wenlei0617

Readme

Keywords

none

Package Sidebar

Install

npm i @wenlei/react-use-portal

Weekly Downloads

0

Version

0.0.1

License

MTI

Unpacked Size

17.2 kB

Total Files

12

Last publish

Collaborators

  • lumu