From 03ceb67c7179a5f06eddf26f30a900ab99c9c1af Mon Sep 17 00:00:00 2001 From: Marco Ciampini Date: Thu, 20 May 2021 16:57:33 +0200 Subject: [PATCH] Remove popover "content" property from types --- packages/components/src/ui/popover/types.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/components/src/ui/popover/types.ts b/packages/components/src/ui/popover/types.ts index 3f0e0402a4df00..89b769d24e5195 100644 --- a/packages/components/src/ui/popover/types.ts +++ b/packages/components/src/ui/popover/types.ts @@ -4,7 +4,7 @@ // eslint-disable-next-line no-restricted-imports import type { PopoverStateReturn } from 'reakit'; // eslint-disable-next-line no-restricted-imports -import type { CSSProperties, FunctionComponentElement, ReactNode } from 'react'; +import type { CSSProperties, FunctionComponentElement } from 'react'; /** * Internal dependencies @@ -35,10 +35,6 @@ export type Props = PopperProps & { * @see https://reakit.io/docs/popover/#usepopoverstate */ baseId?: string; - /** - * Content to render within the `Popover` floating label. - */ - content?: ReactNode; /** * Renders `Elevation` styles for the `Popover`. *