@cbinsights/fds
Version:
Form: A design system by CB Insights
30 lines (29 loc) • 1.34 kB
TypeScript
import React from 'react';
import { StoryObj } from '@storybook/react';
import { PopoverProps } from '.';
export declare const Primary: StoryObj<PopoverProps>;
export declare const HoveredPopover: StoryObj<PopoverProps>;
export declare const StyledPopoverContent: StoryObj<PopoverProps>;
export declare const ControlledPopover: StoryObj<PopoverProps>;
export declare const ControlledPopoverWithExternalTrigger: StoryObj<PopoverProps>;
export declare const PopoverWithinAPopover: StoryObj<PopoverProps>;
export declare const CloseOnScroll: StoryObj<PopoverProps>;
export declare const DisableScrolling: StoryObj<PopoverProps>;
export declare const WithDropdown: {
render: (args: PopoverProps) => JSX.Element;
};
export declare const TriggerWithoutRef: {
render: (args: PopoverProps) => JSX.Element;
};
declare const _default: {
component: React.ForwardRefExoticComponent<Pick<PopoverProps, "children" | "onClose" | "alignment" | "closeOnScrollRef" | "delay" | "disablePortal" | "disableScrollRef" | "distance" | "interactionMode" | "isOpen" | "onOpen" | "onUserDismiss" | "position" | "transitionName" | "trigger"> & React.RefAttributes<HTMLDivElement>>;
title: string;
parameters: {
docs: {
description: {
component: string;
};
};
};
};
export default _default;