Skip to content

Commit

Permalink
Fix popover type export (#3027)
Browse files Browse the repository at this point in the history
  • Loading branch information
anambl authored Oct 5, 2023
1 parent ad49076 commit 89f4d90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/bpk-component-popover/src/BpkPopoverPortal.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class BpkPopoverPortal extends Component<Props> {
}
}

const propTypes = {
export const propTypes = {
// BpkPopover props - when migrating the popover to TS, we can import the type from BpkPopover
children: PropTypes.node.isRequired,
closeButtonText: PropTypes.string.isRequired,
Expand Down Expand Up @@ -242,7 +242,7 @@ const propTypes = {
popperModifiers: PropTypes.arrayOf(PropTypes.object),
};

const defaultProps = {
export const defaultProps = {
// BpkPopover props - when migrating the popover to TS, we can import the type from BpkPopover
className: null,
closeButtonIcon: true,
Expand Down

0 comments on commit 89f4d90

Please sign in to comment.