0.1.2 • Published 2 years ago

react-bubblytip v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

React-BubblyTip

You can easily display a tooltip bubble UI on components in your React project. Also use the same for Next.js projects as well as React.

Usage

import "react-bubblytip/lib/bubblytip.css";

const Temp = () => {
  const [isView, msgPush] = useBubblyTip();

  const onClick = () => {
    msgPush((push) => !push);
  };

  return (
    <div className="Wrap" style={{ display: "flex", justifyContent: "center" }}>
      <div
        className="Container"
        style={{ position: "relative", width: "200px" }}
      >
        <button onClick={onClick} style={{ width: "200px" }}>
          push bubbly
        </button>
        <BubblyTip push={isView}>Here is!</BubblyTip>
      </div>
    </div>
  );
};

Comments

Now available React-Bubblytip without styled-components ! I hope to support more custom styling in the future.

Confirmed Support Coverage

  • react : 17.0.0 ~ Latest Version
  • next : 12.0.0 ~ Latest Version
0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago