import type { FeedbackInternalOptions } from '@sentry/core'; import type { h as hType, VNode } from 'preact'; import type * as Hooks from 'preact/hooks'; interface FactoryParams { h: typeof hType; } export default function ToolbarFactory({ h, // eslint-disable-line @typescript-eslint/no-unused-vars }: FactoryParams) { return function Toolbar({ action, setAction, options, }: { action: 'highlight' | 'hide' | ''; setAction: Hooks.Dispatch>; options: FeedbackInternalOptions; }): VNode { return (
); }; }