= { inert: "inert" };
-
type PanelContextValue = {
readonly panelId: string;
readonly handleProps: ResizableHandleProps;
@@ -420,7 +414,7 @@ export function PanelPane({ value, className, ...props }: PanelPaneProps) {
{
});
test("the textarea forwards a host ref", () => {
- // React 18 drops `ref` from a function component's props: only a
- // forwardRef component receives it there.
expect(PromptInputTextarea.$$typeof).toBe(Symbol.for("react.forward_ref"));
const ref = createRef();
const container = document.createElement("div");