12 lines
478 B
JavaScript
12 lines
478 B
JavaScript
'use client';
|
|
import * as React from 'react';
|
|
import { useTeachingPopover_unstable } from './useTeachingPopover';
|
|
import { renderTeachingPopover_unstable } from './renderTeachingPopover';
|
|
/**
|
|
* An extension class of Popover which defaults to withArrow and FocusTrap enabled.
|
|
*/ export const TeachingPopover = (props)=>{
|
|
const state = useTeachingPopover_unstable(props);
|
|
return renderTeachingPopover_unstable(state);
|
|
};
|
|
TeachingPopover.displayName = 'TeachingPopover';
|