Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

Commit

Permalink
chore(design): add deprecated text
Browse files Browse the repository at this point in the history
  • Loading branch information
melchior-voidwolf committed Jul 25, 2022
1 parent ae996d0 commit ba003f9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/design-system/src/components/Popover/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ export interface PopoverProps extends AbstractTriggerProps {
compact?: boolean
}

/**
*
* @deprecated This component is planned to be abandoned and PopoverN is now recommended.
* You can continue to use this component now, but popoverN will replace it later
*/
const Popover: ForwardRefRenderFunction<unknown, PopoverProps> = (props, ref) => {
const { title, content, role = 'dialog', compact, ...otherProps } = props

Expand Down

0 comments on commit ba003f9

Please sign in to comment.