Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Popover): add popper modifiers to popover props #993

Merged
merged 2 commits into from
Sep 7, 2023

Conversation

DenisVershkov
Copy link
Contributor

No description provided.

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

export const Popover = React.forwardRef<PopoverInstanceProps, PopoverProps & QAProps>(function (
export const Popover = React.forwardRef<
PopoverInstanceProps,
PopoverProps & Pick<PopperProps, 'modifiers'> & QAProps
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Popup also has this property, so it should be extracted on line 122 in types file

export type PopoverProps = Pick<PopupProps, 'anchorRef' | 'strategy' | 'placement' | 'modifiers'> &

@DenisVershkov DenisVershkov merged commit fdce64a into main Sep 7, 2023
3 checks passed
@DenisVershkov DenisVershkov deleted the feat/add-popover-modificators branch September 7, 2023 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants