import type { PanelPosition, ProOptions } from '@xyflow/system'; import { Panel } from '../Panel'; import { Show, mergeProps } from 'solid-js'; type AttributionProps = { proOptions?: ProOptions; position?: PanelPosition; }; export function Attribution(_p: AttributionProps ) { // { proOptions, position = 'bottom-right' }: AttributionProps) { const p = mergeProps({ position: 'bottom-right' as PanelPosition, }, _p); // if (proOptions?.hideAttribution) { // return null; // } const shouldHide = () => !!p.proOptions?.hideAttribution; return ( React Flow ); }