Skip to content

You can easily display a tooltip bubble UI on components in your React project. 리액트 프로젝트에 컴포넌트에 툴팁 말풍선 UI 를 쉽게 띄울수 있습니다.

License

steven-yn/React-BubblyTip

Repository files navigation

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

About

You can easily display a tooltip bubble UI on components in your React project. 리액트 프로젝트에 컴포넌트에 툴팁 말풍선 UI 를 쉽게 띄울수 있습니다.

Resources

License

Stars

Watchers

Forks

Packages

No packages published