Skip to content

Commit

Permalink
Remove style from types file
Browse files Browse the repository at this point in the history
  • Loading branch information
talldan committed Aug 15, 2024
1 parent c6b4e8c commit c811da6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/popover/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ const UnforwardedPopover = (
WordPressComponentProps< PopoverProps, 'div', false >,
// To avoid overlaps between the standard HTML attributes and the props
// expected by `framer-motion`, omit all framer motion props from popover
// props (except for `animate`, `children`, and `style`, which are
// re-defined in `PopoverProps`).
// props (except for `animate` and `children` which are re-defined in
// `PopoverProps`, and `style` which is merged safely).
keyof Omit< MotionProps, 'animate' | 'children' | 'style' >
>,
forwardedRef: ForwardedRef< any >
Expand Down
6 changes: 0 additions & 6 deletions packages/components/src/popover/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,6 @@ export type PopoverProps = {
* @default false
*/
inline?: boolean;
/**
* Inline styles to apply to the popover element.
*
* @default undefined
*/
style?: React.CSSProperties;
// Deprecated props
/**
* Prevent the popover from flipping and resizing when meeting the viewport
Expand Down

0 comments on commit c811da6

Please sign in to comment.