const tree = renderer
    .create(
      // @ts-expect-error TS(2740) FIXME: Type '{ type: string; onClick: () => void; label: ... Remove this comment to see the full error message
      <Button type="primary" onClick={() => {}} label="Primary" disabled />,
    )