Skip to content

cyhfe/react-ui

Repository files navigation

React-UI

storybook

useage

npm i @cyhfe/react-ui
import { PopupRoot, PopupTrigger, PopupContent } from "@cyhfe/react-ui";

export function Base() {
  return (
    <PopupRoot className="flex justify-center items-center">
      <PopupTrigger className="border border-black rounded px-2 py-1">
        <div>trigger</div>
      </PopupTrigger>
      <PopupContent className="p-2 shadow max-w-sm border rounded">
        Ut aliquip esse ipsum nisi.
      </PopupContent>
    </PopupRoot>
  );
}

screenshot

react-ui

Releases

No releases published

Packages

No packages published

Languages