0.1.2 • Published 1 year ago

react-bubblytip v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.14

1 year ago

0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago