Skip to content

Commit

Permalink
Remove popover "content" property from types
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed May 26, 2021
1 parent ed26a23 commit b6edbf9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/components/src/ui/popover/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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`.
*
Expand Down

0 comments on commit b6edbf9

Please sign in to comment.