import React from 'react' import type { Meta, StoryObj } from '@storybook/react' import { Close } from '../Close/Close' import { Row } from '../Row/Row' import { Popup } from './Popup' import './Popup.stories.css' const meta: Meta = { title: 'Popup', component: Popup } export default meta type Story = StoryObj export const OnHover: Story = { render: () => ( If you want to see it  hover me} on="hover" /> . ) } export const OnClick: Story = { render: () => ( If you want to see it  click me} on="click" /> . ) } export const Positions: Story = { render: () => ( <>
Top Left} on="hover" /> Top Center} on="hover" /> Top Right} on="hover" />
Bottom Left} on="hover" /> Bottom Center} on="hover" /> Bottom Right} on="hover" />
Left Center} on="hover" /> Right Center} on="hover" />
) } export const Closable: Story = { render: () => ( Dismiss me } position="top left" trigger={Hello there} on="hover" /> ) }